Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add "updatedDate" to "entities" result array

...

Endpoint ID:1013
Method:
Status
colourGreen
titlePOST
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
Code Block
{}
Code Block
{
   "offset": 0,
   "limit": 53
}

Span
stylewhite-space:pre
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.

 

Code Block
{
   "entities": [
      {
         "dpKey": 12345,
         "updatedDate": "2015-06-03T12:55:02"
      },
      {
         "dpKey": 12346,
         "updatedDate": "2015-06-03T13:10:47"
      },
      {
         "dpKey": 12347, 12348, 12349
         "updatedDate": "2015-06-04T01:02:55"
      }
 ],
   "paging": {
      "offset": 0,
      "count": 53,
      "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