Create

Create an item in a checklist

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areachecklistitems.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
ActionYesThe action to performaction=create
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
ChecklistitemChecklistHeaderUUIDYesChecklist header uuid"ChecklistitemChecklistHeaderUUID":"B169DA9B3B5810448C5B2151FF232DB2"
ChecklistitemDescriptionYesChecklist item description"ChecklistitemDescription":"item 10"
ChecklistitemUuidNoChecklist item uuid"ChecklistitemUuid"=
ChecklistItemOrderNoChecklist item order"ChecklistItemOrder"=

Example request:

http://<SERVER>/jsonAPI/checklistitems.json?user=user&password=user&version=3.9&action=create&input={
  "data": [
    {
      "checklistitemChecklistHeaderUUID": "B169DA9B3B5810448C5B2151FF232DB2",
      "checklistitemDescription": "item 10"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "checklistitemUuid": "DE53CBF5C6E96140BD214071BEA5BFDE",
      "checklistitemTimestampModified": 1539788746,
      "checklistitemRecordVersionNumber": 0
    }
  ]
}