CurrencyExchangeRate

Read all Currency Exchange Rates

Changed on

Retrieve all of the current and historical exchange rates set on the marketplace.

get/channel/v1/exchangeRates

Request

Query parameters

baseCurrency'USD' | 'CAD' | 'EUR' | 'JPY' | 'GBP' | 'KRW' | 'CHF' | 'SEK' | 'SGD' | 'MYR' | 'AUD' | 'MXN' | 'INR' | 'BRL' | 'DKK' | 'NZD' | 'NOK' | 'ZAR' | 'PHP' | 'CNY' | 'SAR' | 'GTQ'

The base currency filter. Optional.

counterCurrency'USD' | 'CAD' | 'EUR' | 'JPY' | 'GBP' | 'KRW' | 'CHF' | 'SEK' | 'SGD' | 'MYR' | 'AUD' | 'MXN' | 'INR' | 'BRL' | 'DKK' | 'NZD' | 'NOK' | 'ZAR' | 'PHP' | 'CNY' | 'SAR' | 'GTQ'

The counter currency filter. Optional.

pageinteger

The page number. Optional.

sizeinteger

The number of application returned by page. Optional.

sortField'BASE_CURRENCY' | 'COUNTER_CURRENCY' | 'VALID_FROM'

The order field. Optional.

sortOrder'ASC' | 'DESC'

The sort direction. Optional.

Response

OK

Example response

{
  "page": {
    "totalPages": "50",
    "number": "0",
    "size": "20",
    "totalElements": "1000"
  },
  "content": [
    {
      "baseCurrency": {
        "href": "...",
        "id": "..."
      },
      "counterCurrency": {
        "href": "...",
        "id": "..."
      },
      "rate": 0.5,
      "validFrom": 1507077229000,
      "active": true,
      "authenticationType": "USER_LOGIN",
      "oauthKey": "...",
      "userId": 12345,
      "currencyExchangeRateUuid": "..."
    }
  ],
  "links": [
    {
      "href": "...",
      "rel": "..."
    },
    {
      "href": "...",
      "rel": "..."
    }
  ]
}

Changes