Skip to content

Order Management System REST API - Owner Controller

The owner/byid/<owner> URL provides management of metadata for individual Trading Account Owner metadata.

GET /owner/byid/<owner>

Retrieves the metadata for a Trading Account Owner.

ParameterDescription
ownerA URL-encoded Owner Code.
CodeStatusDescription
200SuccessContent is a single OwnerDetails object.
404FailureOwner metadata does not exist, or the authenticated identity does not have permission to see this account.

PATCH /owner/byid/<owner>

Changes all references within OMS from one Owner code to a different Owner code.

ParameterDescription
ownerA URL-encoded Owner Code.
ParameterExpectedDescription
newOwnerOptionalThe new Owner Code. If omitted, defaults to the original Owner Code.

A single TransformRequest object.

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

DELETE /owner/byid/<owner>

Removes the metadata for a Trading Account Owner.

Requires the Alter feature permission.

ParameterDescription
ownerA URL-encoded Owner Code.
CodeStatusDescription
204SuccessThe Owner was removed.
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.