View Exchange Rates by Currency
get
/primeapi/restapi/exchangeRate/currency/{id}
This endpoint returns exchange rates that meet the following requirements:
- The object is associated with a currency with an ID value that matches the value of the {currencyId} path parameter.
Request
Path Parameters
-
id: integer(int64)
ID of the currency whose exchange rates are to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityExchangeRate
Type:
Show Source
object
-
baseExchangeRate(optional):
number
The rate used to convert the value of a record to the base currency.
-
currencyId(optional):
integer(int64)
-
effectiveEndDate(optional):
string(date-time)
The date the exchange rate ends.
-
effectiveStartDate(optional):
string(date-time)
The date the exchange rate goes into effect.
-
exchangeRateId:
integer(int64)
-
link(optional):
string(url)
Read Only:
true
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
204 Response
Successful operation with no content.
404 Response
The requested exchange rates do not exist, or you do not have access to them.