Own Vehicles List
Own Vehicles List
URL
masters/ovehicles
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 | WyTroN00dh9TnNQFPAlPBbZXa2XdBjTR | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| vehicles | Array | M | ||||
| cccode | String | M | cc code | COST CENTER CODE | ||
| vcode | Integer | M | 0 | VEHICLE CODE | ||
| rgno | String | M | KL | REGISTER NUMBER | ||
| vtype | String | M | vehicle type | VEHICLE TYPE | ||
| vehiclename | String | M | vehicle name | VEHICLE NAME | ||
| capacity | Decimal | M | 0 | CAPACITY | ||
| ecapacity | Decimal | M | 0 | E CAPACITY | ||
| height | Decimal | M | 0 | HEIGHT | ||
| length | Decimal | M | 0 | LENGTH | ||
| width | Decimal | M | 0 | WIDTH | ||
| constant | Decimal | M | 0 | CONSTANT | ||
| mtype | String | M | m type | M TYPE | ||
| freeze | String | M | F | FREEZE | ||
| mtypename | String | M | Metre | M TYPE NAME | ||
| vehiclecapacity | Decimal | M | 0.0 | VEHICLE CAPACITY | ||
| vehiclecapacityStr | String | M | vehicle capacity str | VEHICLE CAPACITY STR |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"vehicles": [
{
"cccode": "cc code",
"vcode": "0",
"rgno": "KL",
"vtype": "vehicle type",
"vehiclename": "vehicle name",
"capacity": "0",
"ecapacity": "0",
"height": "0",
"length": "0",
"width": "0",
"constant": "0",
"mtype": "m type",
"freeze": "F",
"mtypename": "Metre",
"vehiclecapacity": "0.0",
"vehiclecapacityStr": "vehicle capacity str"
}
],
"e": 200,
"msg": "Success"
}