Click or drag to resize

OverviewServicesGetActivityStream Method


Retrieves the list of tracked recent activities

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<UserActivityEntry[]> GetActivityStream(
	string postContent,
	int count
)

Parameters

postContent  String
Comment to post as an activity item. If left null or empty, simply return recently activities. Otherwise, add the content post to activities list
count  Int32
Number of recently activities to retrieve

Return Value

XHRServiceResponseGenericUserActivityEntry

Recent activities listing, chronologically descending

Example

Sample JSON return

JavaScript
{
  "ContentFreezeEndTime": "",
  "ContentFreezeStartTime": "",
  "code": 0,
  "error": null,
  "message": [
    {
      "Action": "Jim wrote a comment:",
      "Content": "I am about to start a Content Freeze in 5 minutes",
      "Thumbnail": "",
      "Timeline": "20180405T17:11:54",
      "UserId": "jim",
      "UserName": "Jim"
    },
    {
      "Action": "Jim ha registrado una página:",
      "Content": "test (x1890)",
      "Thumbnail": "",
      "Timeline": "20180405T11:41:29",
      "UserId": "jim",
      "UserName": "Jim"
    },
    {
      "Action": "Jim ha registrado una página:",
      "Content": "Test Lists (x1893)",
      "Thumbnail": "",
      "Timeline": "20180405T11:41:10",
      "UserId": "jim",
      "UserName": "Jim"
    },
    {
      "Action": "ashley checked out a page:",
      "Content": "dolby_amazon_developer.ditamap (x1528)",
      "Thumbnail": "",
      "Timeline": "20180111T15:43:11",
      "UserId": "ashley",
      "UserName": "ashley"
    }
  ]
}
See Also