Unapprove

Unapprove a purchase order

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.8v3.8 Overview
ActionYesThe action to performaction=unapprove
IdentifierYesPurchase ID or UUIDpurchase=10008229

Example request:

http://<SERVER>/jsonapi/purchases.json?company=1&user=user&password=user&version=3.8&action=unapprove&purchase=10008233

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Purchase order unapproved. ",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "poPOApproved": false,
      "poPOApprovedDate": "0000-00-00",
      "poPOApprovedTime": "00:00",
      "poPOApprovedUserId": 0,
      "poPOApprovedDateUtc": "0000-00-00",
      "poPOApprovedTimeUtc": "00:00",
      "poPOApprovedTimeZone": "",
      "poInternal": 10008255,
      "poUuid": "38AB3496BAC5FB44A2C88F4A879098CB",
      "poTimeStampModified": 1521024460,
      "poRecordVersionNumber": 15,
      "poPONumber": "012090"
    }
  ]
}