Skip to content

Order Management System REST API - Feed Controller

The feed/byid/<feed>/updates URL provides the ability to retrieve past updates submitted from this data feed.

GET /feed/byid/<feed>/updates

Retrieves past updates for this data feed, starting from a minimum sequence number.

ParameterDescription
feedA URL-encoded Feed ID.
ParameterExpectedDescription
fromRequiredThe lowest sequence number to retrieve from (exclusive). Zero to read from the beginning.
toOptionalThe highest sequence number to retrieve (inclusive). If omitted, defaults to the highest seen.
countOptionalAn integer. The maximum number of records to return. If omitted, returns every record.
CodeStatusDescription
200SuccessContent is an array of FeedRequest objects.
404FailureFeed does not exist.
422FailureA failure occurred.
Content is a JSON array of one or more error codes describing the problem.

GET /feed/byid/<feed>/updates/fromdate

Retrieves past updates for this data feed, starting from a timestamp.

ParameterDescription
feedA URL-encoded Feed ID.
ParameterExpectedDescription
fromRequiredThe earliest timestamp to retrieve from (exclusive).
toOptionalThe highest sequence number to retrieve (inclusive). If omitted, defaults to the highest seen.
countOptionalAn integer. The maximum number of records to return. If omitted, returns every record.
CodeStatusDescription
200SuccessContent is an array of FeedRequest objects.
404FailureFeed does not exist.
422FailureA failure occurred.
Content is a JSON array of one or more error codes describing the problem.