Update a checklist header
Update header
Parameter | Description | Example | More info |
---|---|---|---|
API | The API area | checklistheader.json | |
Action | Update | &action=update | |
Parameters described in overview | user=user&password=user&version=3.3 | ||
Input | JSON string | input="data": ... | |
checklistUuid | Checklist UUID | "checklistUuid":"B60C7E3EEFF2394E97CF4CF2965902A7" | |
checklistTitle | Checklist title | "checklistTitle"= | |
position | Checklist header position | &position= | |
Response | Returned data | A JSON string containing the data |
Example request:
Request to update a checklist
http://<SERVER>/jsonAPI/checklistheader.json?user=user&password=user&version=3.3&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": [
{
"checklistUuid": "063B9BE7A170AF4ABE38251FF2039354",
"checklistTimestampModified": 1539605562,
"checklistRecordVersionNumber": 6
}
]
}