Skip to content

Order Management System REST API - Audit Controller

The audit/toposition URL provides access to the raw Updates that have been stored in OMS.

Retrieve updates between a timestamp and a position

Section titled “Retrieve updates between a timestamp and a position”

GET /audit/toposition

Retrieves the raw updates between a timestamp and a position in the update stream.

Requires the Audit feature permission.

ParameterExpectedDescription
fromOptionalAn ISO8601 date and time. The earliest timestamp to return (exclusive). If omitted, defaults to the beginning of time.
to[<seq>]RequiredDescribes the ending position of a sequence (inclusive). Repeat for each feed involved in OMS.
countOptionalThe maximum number of records to return. If omitted, returns every record.
CodeStatusDescription
200SuccessContent is an array of AuditRecord objects.
403FailureThe authenticated identity does not have the Audit permission.

In this example, we retrieve the first 100 updates after a timestamp:

Terminal window
curl --oauth2-bearer $AccessToken http://oms.hub/audit/toposition?from=20250101T000000Z&to[prodigy]=20&to[oms]=200&to[foundry]=10&count=100