-
Web Service URL: https://[SERVER_ADDRESS]/SupplierOrdersWS/SupplierOrdersData.asmx
-
MPS Version: From 5.16.0
Description
This method returns a list of locations that the Supplier supplies.
Syntax
public string GetReplenishments(int supplierID, string supplierUserEmail, string supplierUserPassword, string fieldsList)
Parameters
-
supplierID: The supplier ID that will be used to search for demands;
-
supplierUserEmail: The supplier contact’s email address;
-
supplierUserPassword: The supplier contact’s encrypted password;
-
fieldsList: A list of the fields that will be returned by the method. They must be specified separated by the ‘;’ character. Example: StockID;StockName;StockTypeID;EnterpriseName;
-
When no fields are specified, the response will contain the fields shown in bold in the table below.
-
Return fields recognized in fieldsList
|
Field name |
Description |
|
StockID |
Stock ID in the system |
|
StockName |
Stock name |
|
StockTypeID |
Stock type ID (1 - Distribution Center, 2 - Customer Stock) |
|
EnterpriseID |
Company ID in the system |
|
EnterpriseName |
Company name |
|
Street |
Street where the stock is located |
|
Number |
Stock location number |
|
Neighborhood |
Neighborhood where the stock is located |
|
PostalCode |
ZIP code where the stock is located |
|
AdditionalInfo |
Stock address details |
|
CityName |
City where the stock is located |
|
StateName |
State where the stock is located |
|
CountryName |
Country where the stock is located |
|
DeliveryDays |
Number of days it takes the supplier to fulfill demands at the stocked location |
|
IsIntegration |
Stock fulfillment via integration defined for this supplier (0 - Does not fulfill; 1 - Fulfills) |
Click here to learn more about the return format.
Possible return errors
Click here to see the possible errors that may be returned and learn the reasons for them.
Restrictions
To execute this method, you must:
-
There are no restrictions on executing this method.