Saved Checklist Data
List of Saved Checklist
URL
costcentremanagement/checklistsaved
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 | ywGpDen4vQhb3getBvkMXZlIibaEDSbG | Key obtained from authentiaction. |
| fromdate | String | M | 2022-10-31 | From Date from which data need to be shown | ||
| todate | String | M | 2022-10-31 | Date till to show data | ||
| cccode | Integer | O | 33646 | Costcentre Code | ||
| cctype | String | O | V | V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor.Mandatory if cccode given | ||
| checklistid | Integer | O | 1 | Checklist ID | ||
| inorout | String | O | I | On Initializing I On Closing O |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| checklistdata | Array | M | List of Saved Checklist | |||
| checklistid | Integer | M | 1 | Checklist ID | ||
| checklistresult | String | M | Yes | Checklist Result | ||
| inorout | String | M | I | On Initializing I On Closing O | ||
| routine | String | M | M | MONTHLY-M WEEKLY-W DAILY-D | ||
| mustcheck | String | M | T | If Mandatory then T ELSE F | ||
| slno | Integer | M | 1 | Serial No | ||
| edate | String | M | 10-10-2022 | Date in d-m-Y format | ||
| cctype | String | M | V | Cost centre Type V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor | ||
| cccode | Integer | M | 33646 | Cost centre Code |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"fromdate": "2022-10-31",
"todate": "2022-10-31",
"cccode": "33646",
"cctype": "V",
"checklistid": "1",
"inorout": "I"
}
Sample Success Response
{
"checklistdata": [
{
"checklistid": "1",
"checklistresult": "Yes",
"inorout": "I",
"routine": "M",
"mustcheck": "T",
"slno": "1",
"edate": "10-10-2022",
"cctype": "V",
"cccode": "33646"
}
],
"e": 200,
"msg": "Success"
}