/
settings/priceunits/print
settings/priceunits/print
Retrieves the list of all price units defined in the platform with price unit and title, returning an Excel, JSON or XML file.
URL
(GET) /api/settings/priceunits/print
PARAMETERS
The URL parameters are:
format | The report format, any of:
| Optional, string |
RESULTS
The method returns a file “price-units” in the following format:
JSON
The file content is a JSON array. See example below:
[
{
"v": "WD",
"t": "Word(s)"
},
{
"v": "CH",
"t": "Character(s)"
},
{
"v": "LN",
"t": "Line(s)"
},
{
"v": "PG",
"t": "Page(s)"
},
...
]
XML
<?xml version="1.0" encoding="utf-8"?>
<Rows>
<Row>
<v>WD</v>
<t>Word(s)</t>
</Row>
<Row>
<v>CH</v>
<t>Character(s)</t>
</Row>
<Row>
<v>LN</v>
<t>Line(s)</t>
</Row>
<Row>
<v>PG</v>
<t>Page(s)</t>
</Row>
...
</Rows>
EXCEL
The report is an .xlsx file.
Copyright Wordbee - Buzzin' Outside the Box since 2008