/Util

Description

The util resource contains utility end-points:

  • objectChanges
  • getAPIDataModel


GET /objectChanges

Returns a list of all changes made since a given date. The date from when the changes have to be delivered must be appended to the end point with the format yyyy-MM-dd'T'HH:mm:ss:

A JSON message with all objects changed since the specified date will be returned. If a given object has changed multiple times only the latest will be returned.

 [
  {
    "objectType": "DocumentLine",
    "objectKey": 244324299,
    "activityType": "U",
    "activityDate": "2016-09-30T11:45:19"
  },
  {
    "objectType": "Document",
    "objectKey": 244324303,
    "activityType": "U",
    "activityDate": "2016-09-30T11:45:19"
  },
  {
    "objectType": "Document",
    "objectKey": 244324303,
    "activityType": "U",
    "activityDate": "2016-09-30T11:45:19"
  },
  {
    "objectType": "DocumentLine",
    "objectKey": 244324297,
    "activityType": "U",
    "activityDate": "2016-09-30T11:45:19"
  },
  {
    "objectType": "DocumentLine",
    "objectKey": 244324299,
    "activityType": "U",
    "activityDate": "2016-09-30T11:45:19"
  },
  {
    "objectType": "Document",
    "objectKey": 244324303,
    "activityType": "C",
    "activityDate": "2016-09-30T11:45:19"
  },
  {
    "objectType": "DocumentLine",
    "objectKey": 244324297,
    "activityType": "U",
    "activityDate": "2016-09-30T11:45:19"
  }
]

 

  • objectType: a Dataloy API object name
  • objectKey: the primary key of the changed Dataloy object
  • activityType: the type of the change, C for creation, U for update, D for deletion
  • activityDate: the last time the object has been changed

    GET /getAPIDataModel


 

Top
Back

Related Content

 Expand to see related content


Unknown macro: {dynamiccontentbylabel}