Save Checklist Details
Save Checklist details
URL
costcentremanagement/checklistsave
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 | eeOhu1lKPMLETTrkZneFsaC82160Ov3l | Key obtained from authentiaction. |
| cccode | Integer | M | 1 | Cost Centre Code | ||
| cctype | String | M | V | V for Vehicle, E for Equipment, C for Costcentre,COMP for Compressor | ||
| edate | String | M | 2022-10-11 | Checklist Entry Date | ||
| checklistdetails | Array | M | List of Checklist Data | |||
| checklistid | Integer | M | 1 | Checklist ID | ||
| checklistresult | String | M | YES | Response in checklist |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| slno | Integer | M | 1 | Serial No | ||
| edate | String | M | 11-10-2022 | Date as d-m-Y format |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"cccode": "1",
"cctype": "V",
"edate": "2022-10-11",
"checklistdetails": [
{
"checklistid": "1",
"checklistresult": "YES"
}
]
}
Sample Success Response
{
"slno": "1",
"edate": "11-10-2022",
"e": 200,
"msg": "Success"
}