v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Currency Ratio Service

getCurrencyRatioByPage

Retrieve a single currency exchange rate by pageNumber.

get/currencyratio/v1/getCurrencyRatioByPage

Query parameters

fromCurrencyCodestring

The alternate currency code.

pageNumberinteger

Retrieve one or more records by pageNumber. Use to retrieve data in smaller chunks. If left blank, the default is 1.

pageSizeinteger

Number of items to display per page.

toCurrencyCodestring

The base currency code.

includeNullboolean

Specify 'true' to output null data elements.

Headers

authenticationtokenstring required

Secure token for API authentication.

passwordstring required

Password for the Crunchtime Application User.

sitenamestring required

Crunchtime site identifier. (test or production)

useridstring required

User ID for the Crunchtime Application User.

X-B3-TraceIdstring

Optional trace identifier for troubleshooting.

Response

Success

hasNextboolean
totalPagesinteger

Example response

{
  "currencyRatioDetails": [
    {
      "currencyRatioDetailDetails": [
        {
          "exchangeRate": 32.9,
          "fromCurrencyCode": "USD",
          "toCurrencyCode": "EUR"
        }
      ]
    }
  ]
}