Skip to main content

Product Receiving Information

The GetProductReceivingInfo endpoint returns product receiving information from the MIMS system.


How to query product receiving information​

HTTP POST Request

Request TypeExample URL
POST{{url_base}}/GetProductReceivingInfo
Examplehttp://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetProductReceivingInfo"

Input Parameters​

ParameterTypeRequiredDescription
BranchNoString(25)NoExternal destination branch code
ProductReceivingCodeIntegerNoProduct receiving code
OriginBranchNoString(25)NoExternal origin branch code
SalesOrderNoString(25)NoExternal origin sales order code
LoadNoString(25)NoExternal origin load code
Note
  • At least one of the following parameters must be provided: ProductReceivingCode, SalesOrderNo or LoadNo

Return​

ParameterTypeRequiredDescription
WebServiceReturnWebServiceReturnYesStandard WebService response information on method execution
ProductReceivingInfoDataGetProductReceivingInfoYesProduct receiving information

📝 GetProductReceivingInfo Object​

The GetProductReceivingInfo object represents a product receiving.

Return Parameters​

ParameterTypeRequiredDescription
BranchNoString(25)YesExternal branch code
ProductReceivingCodeIntegerYesProduct receiving code
ReceivingDateDataHoraYesProduct receiving date
SalesOrderNoString(25)YesExternal origin sales order code
LoadNoString(25)YesExternal origin load code
StatusString(2)YesProduct receiving status
BeginDateDataHoraYesProduct receiving registration start date/time
EndDateDataHoraYesProduct receiving registration end date/time
ItemListProductReceivingItemListYesList of objects with receiving item information

📝 ProductReceivingItemList Object​

The ProductReceivingItemList object represents a product receiving item.

Return Parameters​

ParameterTypeRequiredDescription
ProductNoString(25)YesExternal product code of the receiving
ProductNameString(40)YesProduct description of the receiving
TransferQtyIntegerYesQuantity of packages sent
CheckedQtyIntegerYesQuantity of packages confirmed
TransferWeightFloatYesSent weight
ConfirmedWeightFloatYesConfirmed weight

Request Example​

curl --location 'http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetProductReceivingInfo"' \
--header 'Content-Type: application/json' \
--data '{
"BranchNo": "02",
"ProductReceivingCode": 11058,
"SalesOrderNo": "9AJLNG",
"LoadNo": "14072020192"
}'

Response Example​

{
"WebServiceReturn": {
"Status": "wrsSuccess",
"ErrorCode": "",
"Message": "",
"Actor": "",
"ReturnQuestion": null
},
"BranchNo": "001",
"ProductReceivingCode": 123456,
"ReceivingDate": "2024-02-07T14:30:00",
"SalesOrderNo": "SO-789",
"LoadNo": "LD-456",
"Status": "AP",
"BeginDate": "2024-02-07T15:00:00",
"EndDate": "2024-02-07T16:30:00",
"ItemList": [
{
"ProductNo": "P-001",
"ProductName": "Produto A",
"TransferQty": 100,
"CheckedQty": 95,
"TransferWeight": 500.0,
"ConfirmedWeight": 495.0
},
{
"ProductNo": "P-002",
"ProductName": "Produto B",
"TransferQty": 50,
"CheckedQty": 50,
"TransferWeight": 250.0,
"ConfirmedWeight": 250.0
}
]
}

🐞 Possible Errors​

CodeMessage
GPR‑001The Product Receiving was not found!