AlphaAlpha Docs
API ReferenceErp exchange rate

Get exchange rates in date range

Retrieve all exchange rates for a currency pair within a date range

GET
/exchange-rates/range
AuthorizationBearer <token>

In: header

Query Parameters

baseCurrency*string
targetCurrency*string
startDate*string
Formatdate-time
endDate*string
Formatdate-time

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/exchange-rates/range?baseCurrency=string&targetCurrency=string&startDate=2019-08-24T14%3A15%3A22Z&endDate=2019-08-24T14%3A15%3A22Z"
[
  {
    "baseCurrency": "string",
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "effectiveDate": "2019-08-24T14:15:22Z",
    "id": "string",
    "rate": 0.1,
    "targetCurrency": "string",
    "tenantId": "string",
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}