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 Type | Example URL |
|---|---|
| POST | {{url_base}}/PostAnimalReceivingTruckWeight |
| Example | http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"PostAnimalReceivingTruckWeight" |
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ReceivingNo | String(25) | Yes | External code of the Live Animal Receiving |
| VehicleTare | Float | Yes | Truck tare |
| WeighingDate | DataHora | Yes | Weighing date/time |
Return
| Parameter | Type | Required | Description |
|---|---|---|---|
| WebServiceReturn | WebServiceReturn | Yes | Standard 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
| Code | Message |
|---|---|
| ARW‑001 | The current status of the informed Live Bird Receiving ("[current status]") does not allow truck weighing! |
| ARW‑002 | Weighing 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‑003 | Vehicle 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! |