Vehicle Weighment Data Details
This API used for geting Weighment details of particular Vehicle - Time and Weight
URL
weighing/get_vehicle_weigment_data
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | R3R7ZITgmBG6fIHJAPmwOgyVr9LJQBsr | Key obtained from authentiaction. |
| vcode | Integer | M | 1255 | Vehicle Code | ||
| isExternal | Boolean | M | false | true for external vehicle else false |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| weighments | Array | M | Weigment Details | |||
| Weight | Decimal | M | 5422.02 | Weight of the weighment | ||
| wTime | String | M | 2023-07-03 11:53 | Wighting Time | ||
| wType | Integer | M | 1 | Enum 1 for TARE Weight, 2 for GROSS Weight |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"vcode": "1255",
"isExternal": "false"
}
Sample Success Response
{
"weighments": [
{
"Weight": "5422.02",
"wTime": "2023-07-03 11:53",
"wType": "1"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}