Return a list of checklist templates
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | checklistheader.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=templates |
Example request:
http://<SERVER>/jsonAPI/checklistheader.json?user=user&password=user&company=1&version=3.9&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.
]
}