跳到主要内容

Convert a currency

GET /api/2.0/crm/settings/currency/convert

Returns a result of converting one currency into another.

Request body​

amount​

type: number

Amount to convert

Example: 0

fromcurrency​

type: string

Currency to convert

Example: "string"

tocurrency​

type: string

Currency into which the original currency will be converted

Example: "string"

Request example​

{
"amount": 0,
"fromcurrency": "string",
"tocurrency": "string"
}

Returns​

Decimal result of converting. A request that is not authenticated returns 401.