Navigating to References Documents Associated with a Resource
You can retrieve the References Documents associated with a resource (Process Material, Skill, Tooling, or Work Center) by specifying the resource OID in the request URI. You can also retrieve the associated References Documents, WTPartReferenceLinks, and their attributes by specifying the resource OID and the associated WTPartReferenceLink OID in the request URI.
Example: Navigating to References Documents Associated with a Tooling Object
The example below shows you how to retrieve References Documents associated with a specific Tooling object. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Resources('OR:com.ptc.windchill.mpml.resource.MPMTooling:271942')/References?$expand=References
The example below shows you how to retrieve References Documents associated with a Tooling object by specifying the Tooling and WTPartReferenceLink OIDs in the request URI. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Resources('OR:com.ptc.windchill.mpml.resource.MPMTooling:271942')/References('OR:wt.part.WTPartReferenceLink:271949')?$expand=References
Similarly, you can retrieve the References Documents for a Process Material, Skill, or Work Center object.
Was this helpful?