Delete

Delete a document

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaattachments.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesData identifying attachment to delete"attachmentID": 6958

Example request:

http://<SERVER>/jsonapi/attachments.json?company=1&user=user&password=user&version=3.7&action=delete&input={
  "data": [
    {
      "attachmentID": 6958
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "attachmentID": 5464,
      "attachmentUuid": "9B7100C5B37B4F49B6B04F30833BAFC2"
    }
  ]
}