Promote (Make Real)

Promote an estimate to 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=promote
IdentifierYesPurchase ID or UUIDpurchase=10008229

Example request:

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

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Purchase order promoted to a real purchase order. ",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "poCurrencyCode": "",
      "poCurrencyRate": 1,
      "poCost": 200,
      "poCurrencyCost": 200,
      "poMarkup": 30,
      "poChargeout": 260,
      "poCurrencyCharge": 390,
      "poInvest": false,
      "poInvestment": 0,
      "poInvestmentMarkup": 0,
      "poEstCost": 200,
      "poCurrencyEstCost": 200,
      "poEstMarkUp": 30,
      "poEstRecChgOut": 260,
      "poCurrencyEstCharge": 390,
      "poOriginalCost": 200,
      "poCurrencyOrigCost": 200,
      "poInternal": 10005708,
      "poUuid": "BEA6082B7BE911E2B9FC00155D003416",
      "poTimeStampModified": 1521025740,
      "poRecordVersionNumber": 6,
      "poPONumber": "012097"
    }
  ]
}