REST Notification Changed Items
Resource URL Summary
Retrieve the details of changed Work Items
GET /up/v5/bns/win?rowver=${rowver}&limit=${limit}
HTTP Headers
This API uses the standard ServiceBroker HTTP Headers.
API Specific Parameters
Parameter | Type | Required? | Description |
---|---|---|---|
|
| No | ServiceBroker keeps a record of all updates to Work Items that it is informed about, and assigns each update notification it receives a unique In the context of the API, the Thus:
This means that integrating systems which poll for changes to Work Items using the API will need to save the appropriate If a |
${limit} |
| No | When supplied, If not supplied, the default value is 10. |
${wid} | string | No | (aka WorkItem Id) When supplied, only updates with the matching WorkItem.Id (e.g. Job Id) to be returned by the API call. |
ServiceBroker will only store updates to Work Items for the number of days defined by the WorkItemNotifyTTL
value for the relevant tenant configuration; after the configured number of days, the updates are automatically purged from ServiceBroker, and are no longer accessible via this API. See the REST Tenant Configuration for further details.
API Specifics
Retrieve the details of changed Work Items
This REST API will return the details of the Work Items that have changed since the last time the API was called, based on the rowver
value (if supplied), up to limit
Work Items (if supplied).
URL
GET /up/v5/bns/win?rowver=${rowver}&limit=${limit}
HTTP Request Body
This request does not require a request body.
HTTP Response
Success
On success, an HTTP response code of 200 will be returned, and the response body will contain a JSON object, consisting of:
- A
rowver
field, containing the${rowver}
value to be used in the next call to the API. - A
row
field, containing an array of Work Item Notification Objects.
For example:
Error
Otherwise, on error, the API will:
- Return an HTTP response code of 400, if the request was invalid;
- Return an HTTP response code of 401, if the request was not authorized; or
- Return an HTTP response code of 500, if something else went wrong.
Both HTTP 400 and 500 responses will contain a REST Integration Standard Response Object with appropriate values for the Code
and/or Message
fields, describing the error, in the response body.