Update an item in a checklist
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | checklistitems.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Action | Yes | The action to perform | action=update | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | Checklist UUID | "checklistUuid":"B60C7E3EEFF2394E97CF4CF2965902A7" |
ChecklistitemDescription | No | Checklist item description | "ChecklistitemDescription":"item 10" |
Example request:
http://<SERVER>/jsonAPI/checklistheader.json?user=user&password=user&version=3.9&action=update&input={
"data": [
{
"checklistUuid": "063B9BE7A170AF4ABE38251FF2039354",
"checklistTitle": "Test Checklist 2"
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"checklistitemUuid": "09BE9E44B80C634A99C91B57DB6684A2",
"checklistitemTimestampModified": 1539605707,
"checklistitemRecordVersionNumber": 7
}
]
}