-
Web Service URL: https://[SERVER_ADDRESS]/StockOrdersWS/StockOrdersData.asmx
-
MPS Version: From 5.3.0
Description
This method returns a list of items that are active in the specified Transfer shipment.
Syntax
public string GetItemsFromTransferShipment(string dealerName, string dealerUserEmail, string dealerUserPassword, int shipmentID, string fieldsList)
Parameters
-
dealerName: Provider name;
-
dealerUserEmail: Provider user email;
-
dealerUserPassword: Encrypted user password;
-
shipmentID: ID of the shipment from which items are being searched;
-
fieldsList: List of fields that will be returned by the method. They must be specified separated by 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 error formats.
Possible errors returned
Click here to see the possible errors that may be returned and learn the reasons behind them.
Restrictions
-
To execute this method, the specified user must have Low, Restricted, or Full permissions for the supplier of the delivery in question.