List Activities
You can list the activities for a particular object using one of the following endpoints:
- /assets/{id}/activities
- Get a list of activities for a specific asset
- /folders/{id}/activities
- Get a list of activities for a specific folder
- /users/{id}/activities
- Get a list of activities for a user's dashboard
List Activities [GET]
Get a list of activities for a particular object
Authorization: Admin, Web
Parameters
- activityIdFrom = (optional, integer, example:
activityIdFrom=89028
) The id of the activity you would like to pull older or newer results starting from. - direction = (optional, integer, default=1, example:
direction=0
) Value of 0 returns activities with an id that is less than the activityIdFrom’s id (or performed before the activity). Value of 1 returns activities with an id that is greater than the activityIdFrom’s id (or performed after the activity).
Response 200
Body
{ "pages": 1, "count": 1879, "items": [ { "id": 78672, "createdAt": "2013-02-08T09:30:26.123", "activityAt": "2013-02-08T09:30:26.123", "type": { "id": 1, "name": "accountCreated", "displayName": "Account Created" }, "activityBy": { "id": 5, "firstName": "Homer", "lastName": "Simpson" }, "activityTo": { "id": 5, "firstName": "Homer", "lastName": "Simpson" }, "account": { "id": 10982, "name": "Springfield Nuclear Plant", "rowStatus": 1 }, "payload": {//see payloads in "Activity Object" doc//} } ] }