Skip to content

Order Management System REST API - Account Controller

The account/byids URL provides bulk management of Trading Account metadata by ID.

GET /account/byids

Retrieves the listed Trading Accounts.

ParameterExpectedDescription
idOptionalA Trading Account ID of the format <owner>/<account>. Can be repeated to retrieve additional Trading Accounts.
asAtOptionalAn ISO8601 date and time. The results returned will be those at the given timestamp. If omitted, returns the latest results.
CodeStatusDescription
200SuccessContent is an array of AccountDetails objects.
Trading Accounts that do not exist or are not visible will be omitted.

POST /account/byids

Retrieves the listed Trading Accounts.

This is an alternative endpoint for providing more identifiers than the maximum URL length permits.

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

A JSON string array, listing the Trading Account IDs of the format <owner>/<account> to retrieve.

CodeStatusDescription
200SuccessContent is an array of AccountDetails objects.
Trading Accounts that do not exist or are not visible will be omitted.