AddSupplier
Endpoint URL |
https://www.yournetosite.com.au/do/WS/NetoAPI |
Method |
POST |
XML Headers |
NETOAPI_ACTION |
AddSupplier |
NETOAPI_USERNAME |
Your Neto Username (generate this in your Neto control panel) |
NETOAPI_KEY |
Your Neto API Secure Key (generate this in your Neto control panel) |
|
JSON Headers |
NETOAPI_ACTION |
AddSupplier |
NETOAPI_USERNAME |
Your Neto Username (generate this in your Neto control panel) |
NETOAPI_KEY |
Your Neto API Secure Key (generate this in your Neto control panel) |
Accept |
application/json |
|
Description |
Use this call to add a new supplier. |
XSD Schema |
AddSupplier XSD | AddSupplier Response XSD
|
AddSupplier Post
You must specify at least one filter and one OutputSelector in your AddSupplier request. These will determine the results returned.
XML POST
<?xml version="1.0" encoding="utf-8"?>
<AddSupplier>
<Supplier>
<SupplierID>(String)</SupplierID>
<SupplierReference>(Integer)</SupplierReference>
<LeadTime1>(Integer)</LeadTime1>
<LeadTime2>(Integer)</LeadTime2>
<SupplierCompany>(String)</SupplierCompany>
<SupplierStreet1>(String)</SupplierStreet1>
<SupplierStreet2>(String)</SupplierStreet2>
<SupplierCity>(String)</SupplierCity>
<SupplierState>(String)</SupplierState>
<SupplierPostcode>(String)</SupplierPostcode>
<SupplierCountry>(String)</SupplierCountry>
<SupplierPhone>(String)</SupplierPhone>
<SupplierFax>(String)</SupplierFax>
<SupplierURL>(String)</SupplierURL>
<SupplierEmail>(String)</SupplierEmail>
<NotifyByEmail>(Boolean)</NotifyByEmail>
<ExportTemplate>(String)</ExportTemplate>
<SupplierCurrencyCode>(String)</SupplierCurrencyCode>
<AccountCode>(String)</AccountCode>
<FactoryStreet1>(String)</FactoryStreet1>
<FactoryStreet2>(String)</FactoryStreet2>
<FactoryCity>(String)</FactoryCity>
<FactoryState>(String)</FactoryState>
<FactoryPostcode>(String)</FactoryPostcode>
<FactoryCountry>(String)</FactoryCountry>
<SupplierNotes>(String)</SupplierNotes>
</Supplier>
</AddSupplier>
JSON POST
{
"Supplier": [ {
"SupplierID":"String",
"SupplierReference":"Integer",
"LeadTime1":"Integer",
"LeadTime2":"Integer",
"SupplierCompany":"String",
"SupplierStreet1":"String",
"SupplierStreet2":"String",
"SupplierCity":"String",
"SupplierState":"String",
"SupplierPostcode":"String",
"SupplierCountry":"String",
"SupplierPhone":"String",
"SupplierFax":"String",
"SupplierURL":"String",
"SupplierEmail":"String",
"NotifyByEmail":"Boolean",
"ExportTemplate":"String",
"SupplierCurrencyCode":"String",
"AccountCode":"String",
"FactoryStreet1":"String",
"FactoryStreet2":"String",
"FactoryCity":"String",
"FactoryState":"String",
"FactoryPostcode":"String",
"FactoryCountry":"String",
"SupplierNotes":"String"
} ]
}
<Supplier>
Element Name |
Required |
Field Type / Options |
SupplierID |
Optional |
String(25) |
SupplierReference |
Optional |
Integer |
LeadTime1 |
Optional |
Integer |
LeadTime2 |
Optional |
Integer |
SupplierCompany |
Optional |
String(50) |
SupplierStreet1 |
Optional |
String(50) |
SupplierStreet2 |
Optional |
String(50) |
SupplierCity |
Optional |
String(50) |
SupplierState |
Optional |
String(50) |
SupplierPostcode |
Optional |
String(15) |
SupplierCountry |
Optional |
String(2) |
SupplierPhone |
Optional |
String(25) |
SupplierFax |
Optional |
String(25) |
SupplierURL |
Optional |
String(255) |
SupplierEmail |
Optional |
String(50) |
NotifyByEmail |
Optional |
Boolean(True, False) |
ExportTemplate |
Optional |
String(25) |
SupplierCurrencyCode |
Optional |
String(3) |
AccountCode |
Optional |
String(25) |
FactoryStreet1 |
Optional |
String(50) |
FactoryStreet2 |
Optional |
String(50) |
FactoryCity |
Optional |
String(50) |
FactoryState |
Optional |
String(50) |
FactoryPostcode |
Optional |
String(15) |
FactoryCountry |
Optional |
String(2) |
SupplierNotes |
Optional |
String |
AddSupplier Responses
XML Response
<?xml version="1.0" encoding="utf-8"?>
<AddSupplier>
<Supplier>
<SupplierID>(String)</SupplierID>
</Supplier>
<Messages>
<Error>
<Message>(String)</Message>
<SeverityCode>(String)</SeverityCode>
<Description>(String)</Description>
</Error>
<Warning>
<Message>(String)</Message>
<SeverityCode>(String)</SeverityCode>
</Warning>
</Messages>
</AddSupplier>
JSON Response
{
"Supplier": [ {
"SupplierID":"String"
} ] , "Messages": {
"Error": [ {
"Message":"String",
"SeverityCode":"String",
"Description":"String"
} ] , "Warning": [ {
"Message":"String",
"SeverityCode":"String"
} ]
} ,
}
<Supplier>
Element Name |
Field Type |
SupplierID |
String |
<Messages>
<Error>
<Warning>
If you are a vendor creating an integration with Neto by Maropost, we would like to hear from you!
Contact Us