Delete

Delete a job record

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areajobs.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.8v3.8 Overview
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesJob ID or UUID"jobNumber":"1/00008772"

Delete will fail if job is used on one or more activity records.

Example request:

http://<SERVER>/jsonAPI/jobs.json?user=user&password=user&version=3.8&action=delete&input={
  "data": [
    {
      "jobNumber": "1/00008772"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "jobNumber": "1/00008772",
      "jobUuid": "19C1C231B8DE43B5BD2BC80F8A23E699",
    }
  ]
}