Defining a roles activities report URL

Create a report URL that outputs role activities in the repository.

Before you begin

To retrieve information about the activities for roles in a community, you must be a community administrator for that community.

About this task

Report URLs for role activities use the roleActivity report path.

Reports that contain role activities information include the following optional parameters:
Table 1. roleActivity: Optional Parameters
Parameter Acceptable parameter values Description
tid
  • Role that is created - 130
  • Role that is updated - 131
Limits output to a specific activity type. Use only the number, for example tid=130. If not defined, then all valid activities will be used.
uid Identifer for a user in a community Limits output to the user that changed the role
rid Identifier for a role Limits output to activity about a specific role
fromTime A UNIX timestamp (the number of seconds since January 1, 1970, 00:00:00 GMT) Defines a the starting time of a time range.
toTime A UNIX timestamp (the number of seconds since January 1, 1970, 00:00:00 GMT) Defines the ending time for a time range
modifiedSince You must use the format: yyyy-MM-dd'T'HH:mm:ss.SSSZ to specify the date since modifications have been made (year-month-dayThour:minutes:seconds.SimpleDateFormat where SimpleDateFormat is milliseconds (S) and timezone (Z)). For example: 2010-06-07T00:00:00.000-0500 Defines the starting time since modifications have been made. Use the modifiedSince parameter when creating report URLs for Rational Insight data warehousing, where you have to return changes that have happened since the last time information was added to the data warehouse.
Note: You can find the identifier values for UID and RID parameters by observing the URL while administrating a community.

Results

This report will return the role activity plus the following data:

Example

Use the following example URL to help you construct the report URL to retrieve role activities information for a specific role.

http://localhost:8080/com.example.repository.web.ws.tomcat/reporting/roleActivity:rid=1003

Feedback