Retrieving Pending Effectivities for Resulting Objects
This example shows you how to retrieve the pending effectivities for resulting objects in change tasks. Use the following GET request.
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeTasks?$expand=ResultingLinks($expand=PendingEffectivities)
To retrieve the pending effectivities for resulting objects in a specific change task, use the following GET request:
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeTasks('OR:wt.change2.WTChangeActivity2:276482')?$expand=ResultingObjects,ResultingLinks($expand=PendingEffectivities)
To retrieve the effectivity contexts for pending effectivities for the resulting objects in change tasks. Use the following GET request.
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeTasks?$expand=ResultingLinks($expand=PendingEffectivities($expand=EffectivityContext)
To retrieve the effectivity contexts for pending effectivities for a specific resulting object under a given change task. Use the following GET request.
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeTasks('OR:wt.change2.WTChangeActivity2:272295')/ResultingLinks('OR:wt.change2.ChangeRecord2:272325')?$expand=PendingEffectivities($expand=EffectivityContext)