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>