Currencies

Bulk Update Currency Conversion Rates

This endpoint allows for a destructive delete all and bulk create Currency Conversion Rates for a specific rateable object. This is meant to be used with DimensionExchangeRateTypeMapping entities as the rateable.

put/currencies/rates/bulk_update

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/

Headers

HTTP_ACCEPTstring required

Set the version of API the request is for

X-Company-IDstring required

Associates request with company

Request body

rateable_idstring nullable required
rateable_typeinteger nullable required
from_currencyinteger required
to_currencyinteger required

Response

List of conversion rates

idinteger required
from_currencyinteger required
to_currencyinteger required
accountinteger nullable
datestring date required
ratestring decimal required
exchange_rate_type_idinteger nullable required
rateable_typeinteger nullable
rateable_idstring nullable
is_lockedboolean
created_atstring date-time required
modified_atstring date-time required

Changes

No operation changes recorded.