Returns the exchange rates for the specified currency ID.
get
/primeapi/restapi/v16.2/exchangeRate/currency/{id}
Request
Path Parameters
- id
-
Type:
integer(int64)Required:trueID of the currency whose exchange rates are to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityExchangeRate
Type:
object- baseExchangeRate
-
Type:
numberThe rate used to convert the value of a record to the base currency. - currencyId
-
Type:
integer(int64) - effectiveEndDate
-
Type:
string(date-time)The date the exchange rate ends. - effectiveStartDate
-
Type:
string(date-time)The date the exchange rate goes into effect. - exchangeRateId
-
Type:
integer(int64)Required:true
404 Response
The exchange rates do not exist or you do not have access to them.