Order Management System REST API - Transform Controller
POST renaming a Symbol
Section titled “POST renaming a Symbol”POST /transform/rename/symbol
Changes all references within OMS from one Symbol Code to another Symbol Code.
Affects the following data:
- The Symbol
Codeof an Order. - The Symbol
Codeon an AssetPosition. - The Symbol
Codeon any queued ClientRequest forNew,Amend,Move,Cancel(does not affect in-progress requests).
URL Parameters
Section titled “URL Parameters”| Parameter | Description |
|---|
Query Parameters
Section titled “Query Parameters”| Parameter | Expected | Description |
|---|---|---|
| exchange | Required | The exchange code where the symbol is issued. |
| code | Required | The old Symbol Code. |
| newCode | Required | The new Symbol Code. |
POST Body
Section titled “POST Body”A single TransformRequest object.
Response
Section titled “Response”| Code | Status | Description |
|---|---|---|
| 204 | Success | The transformation was applied. |
| 403 | Failure | The authenticated identity does not have the Alter permission. |
| 422 | Failure | A failure occurred. Content is a JSON array of one or more error codes describing the problem. |