Accelerate the Value of Data

Get Activity Log Record

This operation returns an Activity Log Record by URI from the tenant.

Request

GET {TenantURL}/activities/{Activity Id}
Table 1. Parameters
Name Required Details
Headers Authorization Yes Information about authentication access token in format "Bearer <accessToken>" (see details in Authentication API.
Parameters itemsCursor No In case you get an Activity Log Record with the non-empty itemsCursor attribute, this means that the items array of the record does not contain all Items. And in this case you may re-request the Activity Log Record by id (using this request) and you should specify itemsCursor parameter in the request. In this case you will get the next portion of the Activity Log Record Items. And itemsCursor attribute again if there are more items that were not returned.

Response

JSON Object representing the Activity Log Record with specified Id.

Get Activity Log Record Example

Request

GET {TenantURL}/activities/abc
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512

Response

{
   "userId":"aleshka",
   "label":"My First Activity",
   "description":"My First Description",
   "timestamp":1427976019918,
   "items":[
      {
         "id":"0000KFF",
         "method":"POST",
         "url":"/entities",
         "clientType":"Dataload Programm",
         "objectUri":"entities/00005KL",
         "objectType":"configuration/entityTypes/HCP",
         "objectLabel":"John Smith",
         "timestamp":1427976019760,
         "data":{
            "type":"ENTITY_CREATED"
         }
      },
      {
         "id":"0000Sll",
         "method":"POST",
         "url":"/entities",
         "clientType":"Dataload Programm",
         "objectUri":"relations/00006OP",
         "objectType":"configuration/relationTypes/HasAddress",
         "startObjectUri":"entities/00005KL",
         "startObjectLabel":"John Smith",
         "endObjectUri":"entities/00009ab",
         "endObjectLabel":"Palo Alto, 3309 El Camino Real",
         "timestamp":1427976019760,
         "data":{
            "type":"RELATIONSHIP_CREATED"
         }
      },
      {
         "id":"0000X21",
         "method":"POST",
         "url":"/activities",
         "timestamp":1427976019918
      },
      {
         "id":"0000OVV",
         "method":"POST",
         "url":"/entities",
         "clientType":"Dataload Programm",
         "objectUri":"entities/00009ab",
         "objectType":"configuration/entityTypes/Location",
         "objectLabel":"Palo Alto, 3309 El Camino Real",
         "timestamp":1427976019760,
         "data":{
            "type":"ENTITY_CREATED"
         }
      }
   ],
   "URI":"activities/abc"
}