Currency List [GET]

Operation

This operation allow you to get a list of all the currencies available in the system.

GET
https://{environment}.ulysescloud.com/public/api/{version}/currency


Request

This request has no parameters.

Example request

GET https://prod.ulysescloud.com/api/v1/currency


Response

Array of Currency elements.

Entity


FieldTypeRequiredDescription
idIntegertrueUnique identificator of the Currency.
codeStringtrueCode of the Currency (ISO 4217)
nameStringtrueName of the Currency.
nameI18nStringtrueName of the Currency in user language.
symbolStringtrueThe UTF-8 symbol for this currency.
decimalPlacesIntegertrueNumber of decimals. Example: if decimalPlaces is 2, then a value should look like "2.00€".

Example response

[
  {
    "id": 1,
    "code": "EUR",
    "name": "Euro",
    "nameI18n": "Euro"
  },
  {
    "id": 2,
    "code": "USD",
    "name": "US Dollar",
    "nameI18n": "US Dollar"
  },
  {
    "id": 3,
    "code": "JPY",
    "name": "Japan Yen",
    "nameI18n": "Japan Yen"
  },
  {
    "id": 4,
    "code": "GBP",
    "name": "UK Pound",
    "nameI18n": "UK Pound"
  }
]