Tip |
---|
Table of Contents | ||
---|---|---|
|
...
Parameters
Name | Type | Description | ||||||
token (mandatory) | String | The token retrieved from the login method | ||||||
currency_identifier (mandatory) | Currency Identifier | The identifier of the currency that should be returned as a result. The allowed currency identifier fields are the following:
| ||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
...
Parameters
Name | Type | Description |
token (mandatory) | String | The token retrieved from the login method |
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
...
Parameters
Name | Type | Description | ||||||
token (mandatory) | String | The token retrieved from the login method | ||||||
value (mandatory) | Number | The value that will be converted into CRM.COM default currency value | ||||||
currency_identifier (mandatory) | Currency Identifier | The identifier of the provided value's related currency. The allowed currency identifier fields are the following:
|
...
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET Request:
Response:
|
GET currencies/convert_from_default_currency
This method accepts a value (price rate, amount) in CRM.COM's default currency and converts it into another currency value. The method uses the effective currency period rate in order to convert the value from the default currency to the required currency.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
(mandatory)
...
String
...
The token retrieved from the login method
...
value
(mandatory)
...
currency_identifier
(mandatory)
...
Restrictions
- It is mandatory to specify one of the semi-optional parameters.
Response Data
...
Name
...
Type
...
Description
value
...
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET Request:
Response:
|
GET currencies/convert_from_default_currency
This method accepts a value (price rate, amount) in CRM.COM's default currency and converts it into another currency value. The method uses the effective currency period rate in order to convert the value from the default currency to the required currency.
Resource URL
Parameters
Name | Type | Description | ||||||
token (mandatory) | String | The token retrieved from the login method | ||||||
value (mandatory) | Number | The value in CRM.COM's default currency that will be converted into another currency's value | ||||||
currency_identifier (mandatory) | Currency Identifier | The identifier of the currency to which value will be converted to. The allowed currency identifier fields are the following:
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters.
Response Data
Name | Type | Description |
value | Number | The value in the default currency |
converted_value | Number | The converted value into the required currency |
default_currency | Currency Object | CRM.COM's default currency as this is defined in General Settings |
currency_period_rate | Currency Period Rate Object | The Currency Rate Period of the Currency to which the value in the default currency was converted |
Referred Objects Response Data Anchor converted currency values referred objects converted currency values referred objects
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET Request:
Response:
|