Delete Item

Delete an item in a checklist

Delete Item

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areachecklistitems.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesChecklist item UUID"checklistitemUuid":"B60C7E3EEFF2394E97CF4CF2965902A7"

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/checklistitems.json?&version=6&action=delete&input={
  "data": [
    {
      "checklistitemUuid": "063B9BE7A170AF4ABE38251FF2039354"
    }
  ]
}

Example request (legacy username/password):

http://<SERVER>/jsonapi/checklistitems.json?&version=6&action=delete&input={
  "data": [
    {
      "checklistitemUuid": "063B9BE7A170AF4ABE38251FF2039354"
    }
  ]
}&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "checklistitemUuid": "4B2ECC5730555144AF81C61A74898DDB"
    }
  ]
}