Skip to content

Order Management System REST API - Audit Controller

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

GET /audit/fromdate

Retrieves the raw updates between two timestamps 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.
toOptionalAn ISO8601 date and time. The most recent timestamp to return (inclusive). If omitted, defaults to now.
countOptionalAn integer. The 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 in the six-month period.

Terminal window
curl --oauth2-bearer $AccessToken http://oms.hub/audit/fromdate?from=20250101T000000Z&to=20250601T000000Z&count=100