Get a list of currency rates

get/currency-rates
SecuritybearerAuth
Request
query Parameters
page
required
integer <int32> (PageParam) >= 1

Page of results to show

Example: page=1
pageSize
required
integer <int32> (ResultsPerPageParam) [ 1 .. 1000 ]

Results to return per page

Example: pageSize=100
sort
string (SortParam)

Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change

Example: sort=id,name | name:desc
fields
string (FieldsParam)

Comma-delimited list of the field(s) to return if only a subset is required

Example: fields=id,name
sourceCurrencyId
string (IdFilterParam)

Filter by source currency id

Example: sourceCurrencyId=0
targetCurrencyId
string (IdFilterParam)

Filter by target currency id

Example: targetCurrencyId=0
startDate
string (DateFilterParam)

Filter by start date

Example: startDate=yyyy-MM-dd | lt:yyyy-MM-dd | gt:yyyy-MM-dd | gtn:yyyy-MM-dd
endDate
string (DateFilterParam)

Filter by end date

Example: endDate=yyyy-MM-dd | lt:yyyy-MM-dd | gt:yyyy-MM-dd | gtn:yyyy-MM-dd
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Response samples
application/json
[
  • {
    • "id": 1,
    • "sourceCurrencyId": 1,
    • "targetCurrencyId": 1,
    • "exchangeRate": 446.2497,
    • "startDate": "2019-08-24",
    • "endDate": "2019-08-24"
    }
]