8. GetExchangeRates
Version 4.1 by Giorgi Mdivnishvili on 2024/08/28 18:41
Contents
Method Description
Using this method, you can retrieve information about the currencies available in the system and their exchange rates.
EndpointURL - [GET]
Request Parameters
Request Body
none
Response example data
[
{
"id": 20569387,
"convertFrom": "AED",
"convertTo": "USD",
"rate": 0.2729
},
{
"id": 20569388,
"convertFrom": "EUR",
"convertTo": "USD",
"rate": 1.1168
},
{
"id": 20569389,
"convertFrom": "AZN",
"convertTo": "USD",
"rate": 0.5863
},
{
"id": 20569390,
"convertFrom": "TRY",
"convertTo": "USD",
"rate": 0.2353
},
{
"id": 20569391,
"convertFrom": "QAR",
"convertTo": "USD",
"rate": 0.2762
},
]
{
"id": 20569387,
"convertFrom": "AED",
"convertTo": "USD",
"rate": 0.2729
},
{
"id": 20569388,
"convertFrom": "EUR",
"convertTo": "USD",
"rate": 1.1168
},
{
"id": 20569389,
"convertFrom": "AZN",
"convertTo": "USD",
"rate": 0.5863
},
{
"id": 20569390,
"convertFrom": "TRY",
"convertTo": "USD",
"rate": 0.2353
},
{
"id": 20569391,
"convertFrom": "QAR",
"convertTo": "USD",
"rate": 0.2762
},
]
Schema
URL Parameters
| Parameter | example | Description |
|---|---|---|
| CityUID | f0ba6324-f337-405c-8cc7-23d62cf664e8 | Example of Uid of the Departure City Almaty |
| CountryCode | AE | Example of the Direction |
| Year | 2024 | Identificator of the year, for this example 2024 |
| Month | 10 | Number of month, for this example November |
Response parameters
| Field | example | Description |
|---|---|---|
| departureDate | "departureDate": "2024-10-01T00:00:00.000", | Flights info for this date, it means there is a available flight |
| remainingTickets | "remainingTickets": 27 | available tickets number |