Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Return modified dialogportal™ entities for a search session specified by a token identifier.The search session is started by calling endpoint 1012: Create changed since session, which returns a token identifier.

The session is created asynchronously, so may not immediately be ready to access. When this endpoint is called for an incomplete session, a 204 response is returned instead of the 200 response which indicates a successful fetch. In this situation it is recommended to wait a few seconds, and try again.

The search session has an expiry of 1 hour. Any request to this endpoint for the session will refresh the expiry, but after an hour of inactivity the session may be deleted.

Endpoint ID:1013
Method:POST
URL:

/user/changes/token/{token}

 tokenThe session token to fetch data for
Request body:

JSON data with search settings

Optional fields
 offsetThe offset in search results from where to return data. If omitted, offset is set to zero
 limitThe maximum number of entities to return. It is not possible to return more than 500 entities per request, and if omitted, limit is set to 500
{}
{
   "offset": 0,
   "limit": 5
}

Response body:

JSON data with an array of dp-keys for the changed entities. The result will also contain an object with properties that specify number of entities returned, the offset and whether there are more entities than the ones returned.

 

{
   "entities": [ 12345, 12346, 12347, 12348, 12349 ],
   "paging": {
      "offset": 0,
      "count": 5,
      "more": true
   }
}
Status codes:200

One or more entities were found

 204The search session is not yet complete - please wait a few seconds and try again
 404

The search session contains no entities, or contains no entities for the given offset

Additionally the following sub code may be returned:

404.4The session token was not recognized
  • No labels