Product Entrance Load Information
The GetLoadProductEntranceInfo endpoint returns product entrance load information from the MIMS system.
How to query Product Entrance Load information
HTTP POST Request
| Request Type | Example URL |
|---|---|
| POST | {{url_base}}/GetLoadProductEntranceInfo |
| Example | http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetLoadProductEntranceInfo" |
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| BranchNo | String(25) | Yes | External code of the branch |
| LoadNo | String(25) | Yes | External code of the load |
Return
| Parameter | Type | Required | Description |
|---|---|---|---|
| WebServiceReturn | WebServiceReturn | Yes | Standard WebService response information in method execution |
| LoadProductEntranceInfo | GetLoadProductEntranceInfoData | Yes | Product entrance load information |
📝 GetLoadProductEntranceInfoData Object
The GetLoadProductEntranceInfoData object represents product entrance load information.
Return Parameters
Parameter Type Required Description BranchNo String(25) Yes External code of the branch LoadNo String(25) No External code of the load LoadProductEntranceCode Integer Yes Internal product entrance load code Status String(2) No Product receiving status BeginDate DataHora No Product receiving registration start date/time EndDate DataHora No Product receiving registration end date/time ProductEntranceList GetProductEntranceDataList No List with load product entrances
📝 GetProductEntranceDataList Object
The GetProductEntranceDataList object represents a product entrance in the load.
Return Parameters
Parameter Type Required Description PurchaseOrderNo String(10) Yes Purchase order code in ERP ProductEntranceItemList GetProductEntranceItemDataList Yes List with entrance products
📝 GetProductEntranceItemDataList Object
The GetProductEntranceItemDataList object represents a product entrance item.
Return Parameters
Parameter Type Required Description ProductNo String(25) Yes External code of the entrance product CheckedQty Integer No Quantity of confirmed packages ConfirmedWeight Float No Confirmed weight
Request Example
curl --location 'http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetLoadProductEntranceInfo"' \
--header 'Content-Type: application/json' \
--data '{
"BranchNo": "101",
"LoadNo": "101|24102195"
}'
Response Example
{
"WebServiceReturn": {
"Status": "wrsSuccess",
"ErrorCode": "",
"Message": "",
"Actor": "",
"ReturnQuestion": null
},
"LoadProductEntranceInfo": {
"BranchNo": "BR001",
"LoadNo": "LOAD123",
"LoadProductEntranceCode": 789,
"Status": "Aberta",
"BeginDate": "2025-02-20T10:00:00Z",
"EndDate": "2025-02-20T12:00:00Z",
"ProductEntranceList": [
{
"PurchaseOrderNo": "PO123",
"ProductEntranceItemList": [
{
"ProductNo": "PROD001",
"CheckedQty": 100,
"ConfirmedWeight": 1500.0
}
]
}
]
}
}
🐞 Possible Errors
| Code | Message |
|---|---|
| GLP‑001 | The informed Product Entrance Load does not exist! |
| GLP‑002 | The "Product Entrance Load (LoadNo)" parameter must be informed! |