Currencies

List all dimension conversion rate mappings

List all dimension conversion rate mappings

get/currencies/rates/dimension-mappings

Request

  • Base URL
    https://api.cubesoftware.com
  • Auth
    OAuth 2
    Authorization code: https://portal.cubesoftware.com/o/authorize/
    Token URL: https://api.cubesoftware.com/o/token/

Query parameters

is_defaultunknown

Whether or not to only get default rates

Headers

HTTP_ACCEPTstring required

Set the version of API the request is for

X-Company-IDstring required

Associates request with company

Response

idinteger required
accountinteger required
is_defaultboolean
rate_typestring required
exchange_rate_typeinteger required
from_currencyinteger nullable
to_currencyinteger nullable
constant_ratestring decimal nullable
content_type_idinteger required

A helper property method for grabbing the id of the ContentType of this model. This is used for creating the rateable relationships with ConversionRate instances.

Returns: an integer representing the content type

created_atstring date-time required
modified_atstring date-time required

Changes

No operation changes recorded.