Get Data of a Specific Currency
Purpose
To get the details of a specific currency.
Request URL
https://www.zohoapis.com/crm/v2/org/currencies/{currency_id}
currency_id - Specify the unique ID of the currency.
Request Method
GET
Scope
scope=ZohoCRM.settings.currencies.{operation_type}
Possible operation types |
---|
READ - Get currencies data |
Possible Errors
HTTP Status | Error Code | Message | Reason |
---|---|---|---|
403 | CURRENCIES_NOT_ENABLED | Multi currency is not enabled | You have not enabled the multi-currency feature for your organization. Goto Setup> Company Details> Currencies and enable it. |
404 | INVALID_URL_PATTERN | Please check if the URL trying to access is a correct one. | The request URL has syntactical errors. |
204 | No Content | No Content | The currency ID is invalid. |
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v2/org/currencies/4150868000000780002"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Sample Response
Copied{
"currencies": [
{
"symbol": "DA",
"created_time": "2019-11-08T14:24:56+05:30",
"is_active": true,
"exchange_rate": "3.000000000",
"format": {
"decimal_separator": "Period",
"thousand_separator": "Comma",
"decimal_places": "2"
},
"created_by": {
"name": "Patricia Boyle",
"id": "4150868000000225013"
},
"prefix_symbol": true,
"is_base": true,
"modified_time": "2019-11-08T14:48:03+05:30",
"name": "Algerian Dinar - DZD",
"modified_by": {
"name": "Patricia Boyle",
"id": "4150868000000225013"
},
"id": "4150868000000780002",
"iso_code": "DZD"
}
]
}