GET customexchangerates?From={From}&To={To}

Get custom exchange rates matching the filter information provided.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
From Optional parameter to specify the ISO currency code being converted from string None.
To Optional parameter to specify the ISO currency code being converted to string None.

Body Parameters

None.

Response Information

Resource Description

Get custom exchange rates matching the filter information provided.

Collection of ExchangeRateModel
NameDescriptionTypeAdditional information
ID The ID of the exchange rate integer None.
CurrencyCodeFrom The ISO currency code being converted from string None.
CurrencyCodeTo The ISO currency code being converted to string None.
CurrencyFrom The currency being converted from string None.
CurrencyTo The currency being converted to string None.
CustomRate The user defined exchange rate decimal number None.
Rate The system exchange rate decimal number None.
LastUpdated The last time the exchange rate was updated via external API date None.
OverheadPercent Optional extra percentage cost that can be applied decimal number None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CurrencyCodeFrom": "GBP",
    "CurrencyCodeTo": "DKK",
    "CurrencyFrom": "British Pound",
    "CurrencyTo": "Danish Krone",
    "CustomRate": 14.3,
    "Rate": 8.43,
    "LastUpdated": "2019-03-21T11:09:51.3210729+00:00",
    "OverheadPercent": 1.3
  },
  {
    "ID": 2,
    "CurrencyCodeFrom": "DKK",
    "CurrencyCodeTo": "GBP",
    "CurrencyFrom": "Danish Krone",
    "CurrencyTo": "British Pound",
    "CustomRate": 0.17,
    "Rate": 0.07,
    "LastUpdated": "2019-03-21T11:09:51.3210729+00:00",
    "OverheadPercent": 0.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfExchangeRateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ExchangeRateModel>
    <ID>1</ID>
    <CurrencyCodeFrom>GBP</CurrencyCodeFrom>
    <CurrencyCodeTo>DKK</CurrencyCodeTo>
    <CurrencyFrom>British Pound</CurrencyFrom>
    <CurrencyTo>Danish Krone</CurrencyTo>
    <CustomRate>14.3</CustomRate>
    <Rate>8.43</Rate>
    <LastUpdated>2019-03-21T11:09:51.3210729+00:00</LastUpdated>
    <OverheadPercent>1.3</OverheadPercent>
  </ExchangeRateModel>
  <ExchangeRateModel>
    <ID>2</ID>
    <CurrencyCodeFrom>DKK</CurrencyCodeFrom>
    <CurrencyCodeTo>GBP</CurrencyCodeTo>
    <CurrencyFrom>Danish Krone</CurrencyFrom>
    <CurrencyTo>British Pound</CurrencyTo>
    <CustomRate>0.17</CustomRate>
    <Rate>0.07</Rate>
    <LastUpdated>2019-03-21T11:09:51.3210729+00:00</LastUpdated>
    <OverheadPercent>0</OverheadPercent>
  </ExchangeRateModel>
</ArrayOfExchangeRateModel>