Cost centre Previous Reading Details
Cost centre Previous Reading Details
URL
costcentremanagement/previousreadingdetails
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 | h9iZDqhoXjGdzUuqiODzNariWylfaNj0 | Key obtained from authentiaction. |
| costcentreid | String | M | V30751 | Cost Centre ID | ||
| cctype | String | M | V | V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| costcentreid | String | M | V30751 | Unique id of Cost centre | ||
| cccode | Integer | M | 30751 | Cost centre Code | ||
| cctype | String | M | V | V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor | ||
| prevtripdate | String | M | 21-09-2022 | Previous Trip Date | ||
| operator1 | String | M | Main Operator | Main Operator | ||
| operator2 | String | M | Second Operator, Third Operator | Will be given in CSV | ||
| kmreading | String | M | 1000.0 | Last KM Reading | ||
| hrreading | String | M | 0.00 | Last Hour Meter Reading |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"costcentreid": "V30751",
"cctype": "V"
}
Sample Success Response
{
"costcentreid": "V30751",
"cccode": "30751",
"cctype": "V",
"prevtripdate": "21-09-2022",
"operator1": "Main Operator",
"operator2": "Second Operator, Third Operator",
"kmreading": "1000.0",
"hrreading": "0.00",
"e": 200,
"msg": "Success"
}