List Print Templates / Files

List of print templates/files

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
ActionYesThe action to performaction=purchaseinputprints
IdentifierYesPurchase ID or UUIDpurchase=10007388

Example request:

http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.7&action=purchaseinputprints&purchase=10007388

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 3,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "menuClickAction": "PURCHASEINPUTFILE PURCHASEINPUTFILEREPORT -1938",
      "menuDefault": false,
      "menuDescription": "**PO Text Template 1",
      "menuExpanded": false,
      "menuLevelName": "PURCHASEINPUTFILE",
      "menuParameter": "",
      "menuParentName": "",
      "menuSort": "",
      "menuSortDirection": ""
    },
    {
      "menuClickAction": "PURCHASEINPUTFILE PURCHASEINPUTFILEREPORT -2096",
      "menuDefault": false,
      "menuDescription": "**PO Text Template 1 HM",
      "menuExpanded": false,
      "menuLevelName": "PURCHASEINPUTFILE",
      "menuParameter": "",
      "menuParentName": "",
      "menuSort": "",
      "menuSortDirection": ""
    },
    {
      "menuClickAction": "PURCHASEINPUTFILE PURCHASEINPUTFILEREPORT -1951",
      "menuDefault": false,
      "menuDescription": "Fifth Ring Dubai PO Text Email Template",
      "menuExpanded": false,
      "menuLevelName": "PURCHASEINPUTFILE",
      "menuParameter": "",
      "menuParentName": "",
      "menuSort": "",
      "menuSortDirection": ""
    }
  ]
}