Retrieving Affected Object links for a Change Notice
This example shows you how to retrieve affected links for a Change Notice. Use the following URI:
URI
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices/('VR%3Awt.change2.WTChangeActivity2%3A632805')/CNAffectLinks HTTP/1.1
Request Headers
Content-Type: application/json
You can also use the following URL to navigate to the affected objects that the affects links navigates to.
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices/('VR%3Awt.change2.WTChangeActivity2%3A632805')/CNAffectLinks?$expand=AffectedObjects HTTP/1.1
This URI returns the details of the affected objects that may be either parts or documents. Affected objects are represented by a thin entity changeable 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 URI:
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices/('VR%3Awt.change2.WTChangeIssue%3A63254')/CNAffectLinks?$expand=AffectedObjects HTTP/1.1
Example: Retrieving Unincorporated Links for a Change Task
Similarly you can also retrieve unincorporated links by navigating a change task. Use the following URI:
GET /Windchill/servlet/odata/ChangeMgmt/ChangeNotices/('VR%3Awt.change2.WTChangeOrder%3A63254')/UnincorporatedLinks HTTP/1.1