跳到主要内容

Get a currency rate by ID

GET /api/2.0/crm/currency/rates/{id:[0-9]+}

Returns a currency rate by ID.

Request body​

id​

type: integer

Currency rate ID

Example: 0

Request example​

{
"id": 0
}

Returns​

Currency rate. A request that is not authenticated returns 401.

FromCurrency​

type: string

Example: "EUR"

ToCurrency​

type: string

Example: "USD"

Rate​

type: number

Example: 1.1

ID​

type: integer

Example: 1234

Response example​

{
"FromCurrency": "EUR",
"ToCurrency": "USD",
"Rate": 1.1,
"ID": 1234
}