Skip to main content

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 TypeExample URL
POST{{url_base}}/GetLoadProductEntranceInfo
Examplehttp://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetLoadProductEntranceInfo"

Input Parameters

ParameterTypeRequiredDescription
BranchNoString(25)YesExternal code of the branch
LoadNoString(25)YesExternal code of the load

Return

ParameterTypeRequiredDescription
WebServiceReturnWebServiceReturnYesStandard WebService response information in method execution
LoadProductEntranceInfoGetLoadProductEntranceInfoDataYesProduct entrance load information

📝 GetLoadProductEntranceInfoData Object

The GetLoadProductEntranceInfoData object represents product entrance load information.

Return Parameters

ParameterTypeRequiredDescription
BranchNoString(25)YesExternal code of the branch
LoadNoString(25)NoExternal code of the load
LoadProductEntranceCodeIntegerYesInternal product entrance load code
StatusString(2)NoProduct receiving status
BeginDateDataHoraNoProduct receiving registration start date/time
EndDateDataHoraNoProduct receiving registration end date/time
ProductEntranceListGetProductEntranceDataListNoList with load product entrances

📝 GetProductEntranceDataList Object

The GetProductEntranceDataList object represents a product entrance in the load.

Return Parameters

ParameterTypeRequiredDescription
PurchaseOrderNoString(10)YesPurchase order code in ERP
ProductEntranceItemListGetProductEntranceItemDataListYesList with entrance products

📝 GetProductEntranceItemDataList Object

The GetProductEntranceItemDataList object represents a product entrance item.

Return Parameters

ParameterTypeRequiredDescription
ProductNoString(25)YesExternal code of the entrance product
CheckedQtyIntegerNoQuantity of confirmed packages
ConfirmedWeightFloatNoConfirmed 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

CodeMessage
GLP‑001The informed Product Entrance Load does not exist!
GLP‑002The "Product Entrance Load (LoadNo)" parameter must be informed!