Vehicle In Purpose Types
Purpose type of a vehicle that entered the firm
URL
masters/getvehicleintypes
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 | eDrjzBOwqmPCKOWSxM77OOYQSTeXDTdz | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| VehicleInPurposeList | Array | M | details of vehicle in purpose types | |||
| syncid | Integer | M | 1 | Unique identification number of the purpose type | ||
| intype | String | M | TYPE | Name of the purpose type | ||
| active | Boolean | M | True | Status of the purpose True - Active False - Not Active | ||
| initial_type | Integer | M | 1 | Initial type of the purpose 0 Any 1 Tare 2 Gross |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"VehicleInPurposeList": [
{
"syncid": "1",
"intype": "TYPE",
"active": "True",
"initial_type": "1"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 499,
"msg": "Invalid Session"
}