Create

Create a checklist

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areachecklistheader.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
ActionYesThe action to performaction=create
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
checklistActivityIDYesActivity ID or UUID"checklistActivityID":7078
checklistTitleYesHeader title"checklistTitle":"My Checklist"
checklistTemplateNoHeader template UUID"checklistTemplate":"B169DA9B3B5810448C5B2151FF232DB2"

Example request:

http://<SERVER>/jsonAPI/checklistheader.json?user=user&password=user&action=create&version=3.9&input={
  "data": [
    {
      "checklistActivityID": 7078,
      "checklistTitle": "My Checklist",
      "checklistTemplate": "B169DA9B3B5810448C5B2151FF232DB2"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "checklistUuid": "1206A47F6D784247A1C39D372AC75878",
      "checklistTimestampModified": 1539787856,
      "checklistRecordVersionNumber": 0
    }
  ]
}