Skip to content

Order Management System REST API - Exchange Controller

The exchange/byid URL provides management of metadata for a specific Exchange.

GET /exchange/byid/<exchange>

Retrieves the metadata for an Exchange.

ParameterDescription
exchangeA URL-encoded Exchange Code.
ParameterExpectedDescription
asAtOptionalAn ISO8601 date and time. The results returned will be those at the given timestamp. If omitted, returns the latest results.
CodeStatusDescription
200SuccessThe Exchange was found.
Content is a single ExchangeDetails object.
404FailureOwner or Trading Account does not exist, or the authenticated identity does not have permission to see this account.

DELETE /exchange/byid/<exchange>

Removes the metadata for an Exchange.

Requires the Alter feature permission.

ParameterDescription
exchangeA URL-encoded Exchange Code.
CodeStatusDescription
204SuccessThe Exchange 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.