Get Outpass Weighment Data
Get Outpass Weighment Data
URL
weighing/get_outpass_weighment_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 | aAS6L1zdP2oPEyG8JgGo462lAEYz1pOl | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| WeigmentTransactions | Array | M | List Of WeigmentTransaction | |||
| vcode | Integer | M | 1255 | Vehicle Code | ||
| isExternal | Boolean | M | false | isExternal | ||
| TareWeight | Decimal | M | 0.00 | TareWeight | ||
| GrossWeight | Decimal | M | 0.00 | Gross Weight | ||
| TareTime | String | M | 2023-07-01 13:15:09 | Tare Time | ||
| ImageIds | String | M | AJSND, SKK998 | Comma separated image ids | ||
| Product | Integer | M | 45 | Product Code | ||
| source | String | M | source | source | ||
| party | Integer | M | 4 | party | ||
| UsedSlnos | Integer | M | 23072500001 | UsedSlnos(List Of Long) |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"WeigmentTransactions": [
{
"vcode": "1255",
"isExternal": "false",
"TareWeight": "0.00",
"GrossWeight": "0.00",
"TareTime": "2023-07-01 13:15:09",
"ImageIds": "AJSND, SKK998",
"Product": "45",
"source": "source",
"party": "4",
"UsedSlnos": "23072500001"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 499,
"msg": "Invalid Session"
}