Reading Events
Client Systems can query the Events endpoint to obtain previous events which have occurred on an existing Subscription. This is the mechanism by which Clients using an event-pull Subscription may poll for events which have occurred since they last synchronised data. The Events endpoint may also be used by Clients using a rest-hook Subscription, for example to obtain any events missed during external system outages.
Read Events
GET /Subscription/{subscription-id}/$events?eventsSinceNumber={first}&eventsUntilNumber={last}
A maximum of 100 events may be requested per query
Events are available for 90 days before being deleted
Parameters
Name | Type | Description |
|---|---|---|
| String (path) | The ID of the Subscription to get Events for |
| Int (query) | The starting event number, inclusive of this event (lower bound) |
| Int (query) | The ending event number, inclusive of this event (upper bound). |
Responses
Code | Description |
|---|---|
200 | Success
JSON
|
422 | Unprocessable Entity |
404 | Not Found |