Delete

Delete a purchase

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewSee overviewStructure of an API call
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesPurchase ID or UUID"poInternal":"10008229"

Example request:

http://<SERVER>/jsonapi/purchases.json?company=1&user=user&password=user&version=3.9&action=delete&input={
  "data": [
    {
      "poInternal": "10008229"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "poInternal": 10008242,
      "poUuid": "E22CEDFAB57E3E4EBCE9CCB1D5DA4FAA"
    }
  ]
}