Skip to content

Order Management System REST API - Diagnostics Controller

The diagnostics/channel URI provides access to the data channels maintained by OMS.

Data Channels are collections of raw data such as balances, open orders, holdings. These channels change based on the updates fed into OMS, and aggregated into the high-level views presented to consumers.

Data Channels are regularly snapshotted and saved to the database, to allow for rapid historical playback and data retrieval.

Eg: the Balances and Orders channels are used to provide the Balances view, as this includes both settled and unsettled cash tracked by Balances, and unfilled buys tracked by Orders.

GET /diagnostics/channel

Lists the available Data Channels used by OMS.

Requires the Audit feature permission.

CodeStatusDescription
200SuccessContent is an array of strings naming valid Data Channels.
403FailureThe authenticated identity does not have the Audit permission.

GET /diagnostics/channel/<channel>

Retrieves a raw snapshot of the requested Data Channel.

Requires the Audit feature permission.

ParameterDescription
channelA URL-encoded Data Channel name.
ParameterExpectedDescription
asAtOptionalAn ISO8601 date and time. The results returned will be those at the given timestamp. If omitted, returns the latest results.
CodeStatusDescription
200SuccessContent is a raw JSON Snapshot object.
403FailureThe authenticated identity does not have the Audit permission.
FieldTypeDescription
PositionMap<string, uint64>The set of positions in each sequence of updates that make up this Snapshot.

Additional fields are channel-specific, and are subject to change between versions of OMS.