Get Exchange Rate For Date

GET {{baseUrl}}/odata/Currencies(a5f5cd68-2c70-4637-ad82-3144733eed2e)/GetExchangeRate(date=2023-04-10)

Get Exchange Rate for the provided date.

For example we have the following currency exchange rates:

effectiveDateexchangeRate
2023-04-011.25
2023-04-101.3

Function will return the following results:

date argvalue
date=2023-03-251
date=2023-04-011.25
date=2023-04-081.25
date=2023-04-101.3
date=2023-05-011.3

If currency has no defined exchange rates - returned value always equal 1

RESPONSES

status: OK

{"@odata.context":"https://api.timetta.com/odata/$metadata#Edm.Decimal","value":1.25}