Load Information
The GetLoadInfo endpoint returns information about a specific load in the MIMS system
How to query a load
HTTP POST Request
| Request Type | Example URL |
|---|---|
| POST | {{url_base}}/GetLoadInfo |
| Example | http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetLoadInfo" |
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| LoadNo | String(25) | Yes | External code of the load |
| BranchNo | String(25) | Yes | External code of the branch |
| ReturnDispatchOriginType | Boolean | No | Flag indicating if the method should return product origin information |
Return
| Parameter | Type | Required | Description |
|---|---|---|---|
| WebServiceReturn | WebServiceReturn | Yes | Standard WebService response information in method execution |
| LoadInfoData | GetLoadInfoData | Yes | Load information |
📝 GetLoadInfoData Object
The GetLoadInfoData object represents all information about a load.
Return Parameters
Parameter Type Required Description LoadStatus String(2) Yes Load status LoadClosureDate DataHora Yes Load closure date/time PalletBaseTotalWeight Float Yes Total weight of pallet bases in the load PalletAdditionalBaseTotalWeight Float Yes Total weight of additional pallet bases in the load PackageAdditionalBaseTotalWeight Float Yes Total weight of additional package bases in the load PalletQty Integer Yes Total boxes in the load SealNo String(160) Yes Seal number LoadNetWeight Float Yes Net weight of the load obtained at the road scale VehicleTare Float Yes Vehicle tare LoadTotalWeight Float Yes Total shipping weight WeighingStatus WeighingStatus Yes Enumerator with possible values for Weighing Status: wssNotAssigned(Not Assigned),wssOpened(Open),wssClosed(Closed),wssExcluded(Excluded) orwssExit(Exit)InitialWeighingOfTareDate DataHora Yes Initial Truck Tare Weighing Date/Time IsBlockedForLogistics Boolean Yes Flag indicating that the load is blocked for logistics SalesOrderList GetLoadInfoSalesOrderList Yes List of all orders contained in the load
📝 GetLoadInfoSalesOrder Object
The GetLoadInfoSalesOrder object represents a sales order contained in the load.
Return Parameters
Parameter Type Required Description SalesOrderNo String(25) Yes External code of the sales order in the load ItemList GetLoadInfoSalesOrderItemList Yes List of all order items contained in the load
📝 GetLoadInfoSalesOrderItem Object
The GetLoadInfoSalesOrderItem object represents a sales order item contained in the load.
Return Parameters
Parameter Type Required Description ItemNo String(25) Yes External code of the sales order item in the load ProdutoNo String(25) Yes External code of the product DispatchQty Integer Yes Quantity of boxes shipped DispatchWeight Float Yes Shipped weight DispatchTare Float Yes Shipped tare DispatchRealWeight Float Yes Real shipped weight DispatchOriginType DispatchOriginType Yes Enumerator with possible values for product origin: dotNotAssigned(Not Assigned),dotOwnProduction(Own Production) ordotTransfer(Transfer).
Note
If the ReturnDispatchOriginType parameter is set to false or not provided, the DispatchOriginType parameter will always be filled with the value dotNotAssigned (Not Assigned).
Request Example
curl --location 'http://10.5.1.4:8082/datasnap/rest/RESTWebServiceMethods/"GetLoadInfo"' \
--header 'Content-Type: application/json' \
--data '{
"BranchNo": "0102",
"LoadNo": "07072"
}'
Response Example
{
"WebServiceReturn": {
"Status": "wrsSuccess",
"ErrorCode": "",
"Message": "",
"Actor": "",
"ReturnQuestion": null
},
"LoadInfoData": {
"LoadStatus": "AB",
"LoadClosureDate": null,
"PalletBaseTotalWeight": 0.0,
"PalletAdditionalBaseTotalWeight": 0.0,
"PackageAdditionalBaseTotalWeight": 0.0,
"PalletQty": 0,
"SealNo": "SEAL123",
"LoadNetWeight": -21100.0,
"VehicleTare": 21100.0,
"LoadTotalWeight": 0.0,
"WeighingStatus": "wssOpened",
"InitialWeighingOfTareDate": "2025-11-14T09:52:16.510Z",
"IsBlockedForLogistics": false,
"SalesOrderList": [
{
"SalesOrderNo": "9DNZP1",
"ItemList": [
{
"ItemNo": "23314081",
"ProdutoNo": "160217",
"DispatchQty": 0,
"DispatchWeight": 0.0,
"DispatchTare": 0.0,
"DispatchRealWeight": 0.0,
"DispatchOriginType": "dotNotAssigned"
}
]
}
]
}
}