Exchange rates

Get all exchange rates

Returns all available exchange rates among currencies of the Enterprise.

Request

[PlatformAddress]/api/connector/v1/exchangeRates/getAll

{
  "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
  "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
  "Client": "Sample Client 1.0.0"
}
PropertyTypeContractDescription

ClientToken

string

required

Token identifying the client application.

AccessToken

string

required

Access token of the client application.

Client

string

required

Name and version of the client application.

Ids

array of string

optional

Unique identifiers of the Exchange Rates. If not specified, the operation returns all exchange rates.

EnterpriseIds

array of string

optional

Unique identifiers of the Enterprises. If not specified, the operation returns the exchange rates for all enterprises within scope of the Access Token.

Response

{
  "ExchangeRates": [
    {
      "SourceCurrency": "EUR",
      "TargetCurrency": "GBP",
      "Value": 0.8505342
    },
    {
      "SourceCurrency": "GBP",
      "TargetCurrency": "EUR",
      "Value": 1.1757317
    }
  ]
}
PropertyTypeContractDescription

ExchangeRates

array of Exchange rate

required

The available exchange rates.

Exchange rate

PropertyTypeContractDescription

Id

string

required

Unique identifier of the Exchange Rate.

EnterpriseId

string

required

Unique identifier of the Enterprise to which the Exchange Rate belongs.

SourceCurrency

string

required

ISO-4217 code of the source Currency.

TargetCurrency

string

required

ISO-4217 code of the target Currency.

Value

number

required

The exchange rate from the source currency to the target currency.

Last updated