Skip to content

Order Management System REST API - Audit Controller

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

GET /audit/between

Retrieves the raw updates between two positions in the update stream.

Requires the Audit feature permission.

ParameterExpectedDescription
from[<seq>]OptionalDescribes the starting position of a sequence (exclusive). Repeat for each feed involved in OMS. If omitted, defaults to 0 for all feeds.
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 for the following sequences:

SequenceFromTo
oms100200
foundry1010
prodigy120

Note that for Foundry the From and To are identical, so no updates will be provided.

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