GET v1/ExchangeRates

Get a list with all available Exchange Rates.

Request Information

Requires Authorization!

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of ExchangeRate objects.


Collection of ExchangeRate
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

BaseCurrencyId

Gets or sets the base currency identifier.

integer

Required

BaseCurrencyCode

Gets or sets the base currency code.

string

None.

ForeignCurrencyId

Gets or sets the foreign currency identifier.

integer

Required

ForeignCurrencyCode

Gets or sets the foreign currency code.

string

None.

Rate

Gets or sets the rate.

decimal number

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "BaseCurrencyId": 2,
    "BaseCurrencyCode": "sample string 3",
    "ForeignCurrencyId": 4,
    "ForeignCurrencyCode": "sample string 5",
    "Rate": 6.0
  },
  {
    "Id": 1,
    "BaseCurrencyId": 2,
    "BaseCurrencyCode": "sample string 3",
    "ForeignCurrencyId": 4,
    "ForeignCurrencyCode": "sample string 5",
    "Rate": 6.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfExchangeRate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ExchangeRate>
    <Id>1</Id>
    <BaseCurrencyId>2</BaseCurrencyId>
    <BaseCurrencyCode>sample string 3</BaseCurrencyCode>
    <ForeignCurrencyId>4</ForeignCurrencyId>
    <ForeignCurrencyCode>sample string 5</ForeignCurrencyCode>
    <Rate>6</Rate>
  </ExchangeRate>
  <ExchangeRate>
    <Id>1</Id>
    <BaseCurrencyId>2</BaseCurrencyId>
    <BaseCurrencyCode>sample string 3</BaseCurrencyCode>
    <ForeignCurrencyId>4</ForeignCurrencyId>
    <ForeignCurrencyCode>sample string 5</ForeignCurrencyCode>
    <Rate>6</Rate>
  </ExchangeRate>
</ArrayOfExchangeRate>