Return a list of checklist templates
List templates
Parameter | Description | Example | More info |
---|---|---|---|
API | The API area | checklistheader.json | |
Action | Templates | &action=templates | |
<General> | Parameters described in overview | user=user&password=user&version=3.3 | |
<input mandatory>Company | Company number | &company=1 | |
Response | Returned data | A JSON string containing the data |
Example request:
Request to return a list of checklist templates
http://<SERVER>/jsonAPI/checklistheader.json?user=user&password=user&company=1&version=3.3&action=templates
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 3,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"checklistUuid": "B169DA9B3B5810448C5B2151FF232DB2",
"checklistTimestampModified": 1533200270,
"checklistRecordVersionNumber": 0,
"checklistActivityID": 7906,
"checklistTitle": "Standard CL1",
"checklistActivityJobDesc": "Template for checklists",
"checklistActivityJobNumber": "1/CH00ECK1",
"checklistActivitySubject": "Standard checklists 1"
},
{
"checklistUuid": "F9ED26457F3ECD4AB55A0B04DF223278",
"checklistTimestampModified": 1533200302,
"checklistRecordVersionNumber": 0,
"checklistActivityID": 7906,
"checklistTitle": "Standard CL2",
"checklistActivityJobDesc": "Template for checklists",
"checklistActivityJobNumber": "1/CH00ECK1",
"checklistActivitySubject": "Standard checklists 1"
}etc. etc.
]
}