GetItemsFromInputShipment

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

  • MPS Version: From 5.3.0

Description

This method returns a list of items that are active in the specified Inbound shipment assigned to the specified supplier.

Syntax

public string GetItemsFromInputShipment(int supplierID, string supplierUserEmail, string supplierUserPassword, int shipmentID, string fieldsList)

Parameters

  • supplierID: Supplier identifier in the system;

  • supplierUserEmail: Supplier contact email;

  • supplierUserPassword: Encrypted password of the supplier contact;

  • shipmentID: Identifier of the shipment from which the items are being searched;

  • fieldsList: List of fields that will be returned by the method. They must be specified by separating them with the ‘;’ character. Example: ShipmentItemID;SupplyModelID;Capacity;

    • 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

ShipmentItemID

Item ID in the system

ShipmentItemStatusID

Item status ID in the system, which can be:

2 - Requested (Not yet forwarded)

5 - Sent (Forwarded)

6 - Received (Received)

7 - Not_Received (Not received)

SupplyModelID

Identifier of the requested material model

SupplyModelBrandName

Name of the manufacturer of the requested material

SupplySubFunctionName

Function name of the requested material (Toner, Photoconductor, etc.)

PartNumber

PartNumber of the requested material

Capacity

Capacity of the requested material

Description

Description of the requested material

Quality

Quality type of the requested material

InternalCode

Internal code of the requested material

StockItemID

Physical identifier of the item associated with the delivery material

SerialNumber

Serial number of the item associated with the delivery material

UTCSentDate

Date the item was sent or blank for items not yet sent

UTCReceivedDate

Date the item was received or blank for items not yet received

PrinterName

Name of the printer to which the requested material is assigned

PrinterBrandName

Manufacturer of the printer to which the requested material is assigned

PrinterModel

Model of the printer to which the requested material is assigned

AddressName

Address of the printer to which the requested material is assigned

PrinterSerialNumber

Serial number of the printer to which the requested material is assigned

SiteName

Site of the printer to which the requested material is assigned

Department

Department of the printer to which the requested material is assigned

Location

Location of the printer to which the requested material is assigned

ContractNumber

Contract number of the printer to which the requested material is assigned

AssetNumber

Asset number of the printer to which the requested material is assigned

ContactData

Contact information for the printer to which the requested material is assigned

LastProductionCounterUsed

Last meter used by the current supply

LastProductionCounterDate

Date of the last reading of the meter used by the current supply

PrintersResponsibles

Printer administrators

Click here to learn more about the return format.

Possible error messages

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

Restrictions

  • There are no restrictions on calling this method.