Skip to main content

Exit Weighing

The PostAnimalReceivingTruckWeight endpoint registers the truck exit weighing in the MIMS system and can be viewed on screen BRL008.


How to register a truck exit weighing

HTTP POST Request

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

Input Parameters

ParameterTypeRequiredDescription
ReceivingNoString(25)YesExternal code of the Live Animal Receiving
VehicleTareFloatYesTruck tare
WeighingDateDataHoraYesWeighing date/time

Return

ParameterTypeRequiredDescription
WebServiceReturnWebServiceReturnYesStandard WebService response information in method execution

Request Example

POST http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/PostAnimalReceivingTruckWeight
Content-Type: application/json
{
"ReceivingNo": "REC001",
"VehicleTare": 5000.0,
"WeighingDate": "2025-02-20T12:00:00Z"
}

Response Example

{
"WebServiceReturn": {
"Status": "wrsSuccess",
"ErrorCode": "",
"Message": "",
"Actor": "",
"ReturnQuestion": null
}
}

🐞 Possible Errors

CodeMessage
ARW‑001The current status of the informed Live Bird Receiving ("[current status]") does not allow truck weighing!
ARW‑002Weighing Date parameter (WeighingDate) ([value sent in request]) must be greater than or equal to the bird receiving date ([value sent in request]). Operation not allowed!
ARW‑003Vehicle Tare parameter (VehicleTare) ([value sent in request]) cannot be greater than or equal to the Vehicle Gross Weight ([value sent in request]). Operation not allowed!