Reorder Items

Reorder items in a checklist

Reorder Items

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=reorder
IdentifierYesChecklist item UUIDuuid=1E78E968D52160428B123B48978F4F40
PositionYesChecklist item positionposition=2

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/checklistitems.json?&version=6&uuid=1E78E968D52160428B123B48978F4F40&position=2&action=reorder

Example request (legacy username/password):

http://<SERVER>/jsonapi/checklistitems.json?&version=6&uuid=1E78E968D52160428B123B48978F4F40&position=2&action=reorder&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Reordered successfully. ",
  "warningmessage": "",
  "success": true
}