Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Endpoint ID:1012
Method:
Status
colourGreen
titlePOST
URL:

/user/changes/{contract-id}

 contract-id

Identifies the type of entities to search for. If omitted, the default contract entity type is returned.

Request body:

JSON data with search settings

Required fields
 fromDateUTC date to compare entity modification dates to.
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 50 500 entities per request, and if omitted, limit is set to 50500
Code Block
{
   "fromDate": "2015-01-01T01:00:00Z"
}
Code Block
{
   "fromDate": "2015-01-01T01:00:00Z",
   "offset": 0,
   "limit": 5
}

Span
stylewhite-space:pre
Response body:

JSON data with an array of the found 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": [ 12345, 12346, 12347, 12348, 12349 ],
   "paging": {
      "offset": 0,
      "count": 5,
      "more": true
   }
}
Status codes:200

One or more entities were found

 404

No updated entities were found