Skip to main content

settings/currencies/print

Retrieves the list of all currencies defined in the platform with code and name, returning an Excel, JSON or XML file.

URL

CODE
(GET) /api/settings/currencies/print

PARAMETERS

The URL parameters are:

format

The report format, any of:

  • Excel (default)

  • Xml

  • Json

Optional, string

RESULTS

The method returns a file “currencies” in the following format:

JSON

The file content is a JSON array. See example below:

CODE
[
  {
    "v": "AED",
    "t": "United Arab Emirates Dirham"
  },
  {
    "v": "AFN",
    "t": "Afghan Afghani"
  },
  {
    "v": "ALL",
    "t": "Albanian Lek"
  },
  {
    "v": "AMD",
    "t": "Armenian Dram"
  },
  ...
]

XML

CODE
<?xml version="1.0" encoding="utf-8"?>
<Rows>
  <Row>
    <v>AED</v>
    <t>United Arab Emirates Dirham</t>
  </Row>
  <Row>
    <v>AFN</v>
    <t>Afghan Afghani</t>
  </Row>
  <Row>
    <v>ALL</v>
    <t>Albanian Lek</t>
  </Row>
  <Row>
    <v>AMD</v>
    <t>Armenian Dram</t>
  </Row>
  ...
</Rows>

EXCEL

The report is an .xlsx file.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.