Skip to content

Order Management System REST API - Transform Controller

POST /transform/rename/currency

Changes all references within OMS from one Currency Code to another Currency Code.

Affects the following data:

  • The currency of an Order.
  • The currency of the AveragePrice on an AssetPosition.
  • The currency of a CashPosition. If a balance for the new currency exists, the values are added.
  • The currency on any queued ClientRequest for CashTransfer (does not affect in-progress requests).
ParameterDescription
ParameterExpectedDescription
codeRequiredThe old Currency Code.
newCodeRequiredThe new Currency Code.

A single TransformRequest object.

CodeStatusDescription
204SuccessThe transformation was applied.
403FailureThe authenticated identity does not have the Alter permission.
422FailureA failure occurred.
Content is a JSON array of one or more error codes describing the problem.