Retrieving Affected Object Links for a Change Notice
This example shows you how to retrieve affected links for a Change Notice. Use the following GET URI:
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices('VR%3Awt.change2.WTChangeActivity2%3A632805')/CNAffectLinks
You can also use the following GET request to retrieve the affected objects that the affect links navigate to.
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices('VR%3Awt.change2.WTChangeActivity2%3A632805')/CNAffectLinks?$expand=AffectedObjects
The request returns the details of the affected objects that may be either parts or documents. Affected objects are represented by a changeable entity that contains the basic attributes of the object.
Example: Retrieving Resulting Objects for a Change Notice
This example shows how to retrieve resulting objects by navigating a change notice through the affected links. Use the following GET URI:
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices('VR%3Awt.change2.WTChangeIssue%3A63254')/CNAffectLinks?$expand=AffectedObjects
Example: Retrieving Unincorporated Links for a Change Task
Similarly you can also retrieve unincorporated links by navigating a change task. Use the following GET URI:
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices('VR%3Awt.change2.WTChangeOrder%3A63254')/UnincorporatedLinks