Skip to content

Order Management System REST API - Account Controller

The Account Controller is responsible for retrieving and manipulating Trading Account metadata.

OMS does not use this data directly, and simply acts as a central store for this information to be consumed by other services.

GET /account

Performing a GET on this URL retrieves all Trading Account metadata.

ParameterExpectedDescription
asAtOptionalAn ISO8601 date and time. The results returned will be those at the given timestamp. If omitted, returns the latest results.

On success, a 200 response containing an array of AccountDetails objects.

POST /account

Performing a POST to this URL adds or updates a Trading Account

A single AccountDetails object.

On success, a 204 response with no body. On failure, a 422 response with a body containing an array of one or more error codes describing the problem.