latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Currencies

UnLock's a ConversionRate from being not editable.

This endpoint identifies the specific ConversionRate and updates the is_locked attribute to False. This will make it editable.

patch/currencies/rates/{id}/unlock

Path parameters

idinteger required

A unique integer value identifying this conversion rate.

Headers

HTTP_ACCEPTstring required

Set the version of API the request is for

X-Company-IDstring required

Associates request with company

Request body

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

Response

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