Currencies
get
/api/v1/generic-api-service/content/currency
The currencies endpoint provides listing of all currencies in Etstur structure.
- cURL
- Request
- Response
- Response Details
curl --location 'https://test-api.etscore.com/api/v1/generic-api-service/content/currency' \
--header 'Authorization: Bearer <token>'
/// no request parameter required
[
{
"id": 3,
"name": {
"translations": {
"de": "Euro",
"en": "Euro",
"ru": "Евро",
"tr": "Euro"
}
},
"isoCode": "EUR"
},
{
"id": 1,
"name": {
"translations": {
"de": "Türkische Lira",
"en": "Turkish Lira",
"ru": "Турецкая лира",
"tr": "Türk Lirası"
}
},
"isoCode": "TRY"
},
{
"id": 2,
"name": {
"translations": {
"de": "US-Dollar",
"en": "US Dollar",
"ru": "Доллар США",
"tr": "Amerikan Doları"
}
},
"isoCode": "USD"
},
{
"id": 5,
"name": {
"translations": {
"de": "Britisches Pfund",
"en": "British Pound",
"ru": "Фунт стерлинга",
"tr": "İngiliz Sterlini"
}
},
"isoCode": "GBP"
}
]
Name | Type | Required | Description |
---|---|---|---|
id | int | Yes | Currency id/code |
name | object-array | Yes | Object containing currencies. |
name/translations | object-array | Yes | Object containing currencies in different languages. |
name/translations/de | string | Yes | German translation of currency. |
name/translations/en | string | Yes | English translation of currency. |
name/translations/ru | string | Yes | Russian translation of currency. |
name/translations/tr | string | Yes | Turkish translation of currency. |
isoCode | string | Yes | Three-digit iso code of the currency. |