List of print templates/files
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | purchases.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Action | Yes | The action to perform | action=purchaseinputprints | |
Identifier | Yes | Purchase ID or UUID | purchase=10007388 |
Example request:
http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.9&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": ""
}
]
}