Currencies

List currency conversion rates

List currency conversion rates

get/currencies/rates

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

from_currencyunknown

The ID of the currency the rate converts from

limitunknown

The number of results to return

offsetunknown

An offset for the results for pagination

order_byunknown

A way to order the rates by date

rateable_idunknown

The ID of the "rateable" object associated with the rate

rateable_typeunknown

The content type ID of the model class of the "rateable" object

to_currencyunknown

The ID of the currency the rate converts to

Headers

HTTP_ACCEPTstring required

Set the version of API the request is for

X-Company-IDstring required

Associates request with company

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