AlphaAlpha Docs
API ReferenceErp exchange rate

Convert currency amount

Convert an amount between two currencies using the latest or a specific rate

GET
/exchange-rates/convert
AuthorizationBearer <token>

In: header

Query Parameters

baseCurrency*string
targetCurrency*string
amount*number
Formatdouble
effectiveDate?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/convert?baseCurrency=string&targetCurrency=string&amount=0.1"
0.1
{
  "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"
}