PUT api/2.0/crm/settings/currency
Updates the default CRM currency with the currency specified in the request.
Name |
Description |
Type |
Example |
currency
sent in body
|
Currency (abbreviation)
Allowed values: EUR, RUB etc. You can get the whole list of available currencies by api
|
string
|
some text
|
PUT api/2.0/crm/settings/currency
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"currency": "some text"
}
application/json
{
"status": 0,
"response": {
"title": "Chinese Yuan",
"symbol": "¥",
"abbreviation": "CNY",
"cultureName": "CN",
"isConvertable": true,
"isBasic": false
}
}
text/xml
<result>
<status>0</status>
<response>
<title>Chinese Yuan</title>
<symbol>¥</symbol>
<abbreviation>CNY</abbreviation>
<cultureName>CN</cultureName>
<isConvertable>true</isConvertable>
<isBasic>false</isBasic>
</response>
</result>