GET api/2.0/crm/currency/rates/{fromCurrency}/{toCurrency} This function requires authentication

Description

Returns a currency rate by currencies.

Parameters
Name Description Type Example
fromCurrency
sent in url
Currency to convert string some text
toCurrency
sent in url
Currency into which the original currency will be converted string some text
Example
GET api/2.0/crm/currency/rates/%22some+text%22/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Currency rate

Example Response

application/json

{
  "status": 0,
  "response": {
    "FromCurrency": "EUR",
    "ToCurrency": "USD",
    "Rate": "1.1",
    "id": 1234
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <FromCurrency>EUR</FromCurrency>
    <ToCurrency>USD</ToCurrency>
    <Rate>1.1</Rate>
    <id>1234</id>
  </response>
</result>