Cost centre Checklist
List of Checklist
URL
costcentremanagement/checklist
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 | URUFiAfV1urG5JwVvIOI8PiWZqxn0svL | Key obtained from authentiaction. |
| cccode | Integer | O | 34484 | Costcentre Code | ||
| cctype | String | O | V | V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor | ||
| inorout | String | O | I | On Initializing I On Closing O |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| checklists | Array | M | List Of Checklist | |||
| cctype | String | M | V | V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor | ||
| id | Integer | M | 1 | Checklist ID | ||
| name | String | M | TYRE PRESSURE | Checklist Name | ||
| inorout | String | M | I | On Initializing I On Closing O | ||
| routine | String | M | M | MONTHLY-M WEEKLY-W DAILY-D | ||
| mustcheck | String | M | F | If Mandatory then T ELSE F |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"cccode": "34484",
"cctype": "V",
"inorout": "I"
}
Sample Success Response
{
"checklists": [
{
"cctype": "V",
"id": "1",
"name": "TYRE PRESSURE",
"inorout": "I",
"routine": "M",
"mustcheck": "F"
}
],
"e": 200,
"msg": "Success"
}