GetActiveShipmentsForSupplier

  • Web Service URL: https://[SERVER_ADDRESS]/SupplierOrdersWS/SupplierOrdersData.asmx

  • MPS Version: From 5.3.0

Description

This method returns a list of active deliveries for the specified supplier.

Syntax

public string GetActiveShipmentsForSupplier(int supplierID, string supplierUserEmail, string supplierUserPassword, string fieldsList)

Parameters

  • supplierID: Supplier ID in the system;

  • supplierUserEmail: Supplier contact email;

  • supplierUserPassword: Encrypted password of the supplier contact;

  • fieldsList: List of fields to be returned by the method. They must be specified separated by the ‘;’ character. Example: ShipmentID;ExpectedDate;StockName;

    • 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

ShipmentID

Delivery ID

ExpectedDate

Expected delivery date

ShipmentStatusID

Delivery status ID, which can be:

1 - Requested

5 - Reserved

7 - Forwarded

8 - Receiving

OrderID

Order ID

OrderShipmentNumber

Order ID associated with the delivery (e.g., IN/000160-P000001)

StockID

ID of the requesting warehouse, which can be a Customer Warehouse or Distribution Center

StockName

Name of the requesting warehouse

OrderField1Name

Name of the first customized field in the order

OrderField1Value

Value of the first customized field in the order

OrderField2Name

Name of the second customized field of the order

OrderField2Value

Value of the second customized field of the order

OrderField3Name

Name of the third customized field of the order

OrderField3Value

Value of the third customized field of the order

ShipmentField1Name

Name of the first customized field of the delivery

ShipmentField1Value

Value of the first customized field of the delivery

ShipmentField2Name

Name of the second customized field of the delivery

ShipmentField2Value

Value of the second customized field of the delivery

ShipmentField3Name

Name of the third customized field of the delivery

ShipmentField3Value

Value of the third customized field of the delivery

Click here to learn more about the return format.

Possible error messages

Click here to see the possible errors that may be returned and learn the reasons behind them.

Restrictions

  • There are no restrictions on calling this method.