Report URLs for asset lifecycle information use the asset report path.
| Parameter | Acceptable parameter values | Description |
|---|---|---|
| master, community | The identifier of a master or community lifecycle | When a user queries for asset lifecycle information by master or community lifecycle, the user must specify a list of lifecycle identifiers. The identifier for a lifecycle is in the information that is returned by the lifecycle reports. |
| state | The state in a lifecycle | This parameter limits output to a specific lifecycle state. Typical states include submitted and approved. |
| uid | The identifier for a user in a community | This parameter limits output to a specific user. For example: admin. Find the identifier values by observing the URL when administering a community. |
| fromTime | The date is in this format: MM-dd-yyyy. For example: 12-30-1988. | This parameter defines the starting time of a time range. |
| toTime | The date is in this format: MM-dd-yyyy. For example: 12-30-1988. | This parameter defines the ending time for a time range. |
| years, months, weeks, days | Days are the base unit. These parameters have
these units:
|
You can combine the years, months, weeks, and days parameters. |
The asset lifecycle information report returns the following data:
http://baseUrl/ram.ws/reporting/lifecycle
You can use this query to find the master lifecycle identifiers to use in subsequent queries.
http://baseUrl/ram.ws/reporting/lifecycle:masterLifecycles=(master1,master2)
You can use this query to find the community lifecycle identifiers to use in subsequent queries. You can also find community lifecycle identifiers by observing the URL when you move your mouse over the name of a lifecycle listed on the Lifecycles page of a community.
http://baseUrl/ram.ws/reporting/assetLifecycle:masterLifecycles=(master1,master2)
You can use this query to determine identifiers to use in subsequent queries. For example, for any given asset, the id element is the user identifier. The stateName element is the state identifier.
http://baseUrl/ram.ws/reporting/assetLifecycle:communityLifecycles=(community1,community2)
http://baseUrl/ram.ws/reporting/assetLifecycle:currentState=(state1,state2)
http://baseUrl/ram.ws/reporting/assetLifecycle:approved=(uid1,uid2)
http://baseUrl/ram.ws/reporting/assetLifecycle:rejected=(uid1,uid2)
http://baseUrl/ram.ws/reporting/assetLifecycle:pending=(uid1,uid2)
http://baseUrl/ram.ws/reporting/assetLifecycle:fromTime=MM-dd-yyyy
http://baseUrl/ram.ws/reporting/assetLifecycle:fromTime=MM-dd-yyyy,toTime=MM-dd-yyyy
http://baseUrl/ram.ws/reporting/assetLifecycle:toTime=MM-dd-yyyy,years=NumberOfYears,months=NumberOfMonths,weeks=NumberOfWeeks,days=NumberOfDays
http://baseUrl/ram.ws/reporting/assetLifecycle:fromTime=MM-dd-yyyy,,years=NumberOfYears,months=NumberOfMonths,weeks=NumberOfWeeks,days=NumberOfDays