Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Manufacturing Process Management Domain > Navigating to Described By Documents Associated with a Resource
  
Navigating to Described By Documents Associated with a Resource
You can retrieve the Described By 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 Described By Documents, PartDescribeLinks, and their attributes by specifying the resource OID and the associated WTPartDescribeLink OID in the request URI.
Example: Navigating to Described By Documents Associated with a Process Material Object
The example below shows you how to retrieve Described By Documents associated with a specific Process Material object. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:199364')/DescribedBy?$expand=DescribedBy,Describes
The example below shows you how to retrieve Described By Documents associated with a Process Material object by specifying the Process Material and WTPartDescribeLink OIDs in the request URI. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:199364')/DescribedBy('OR:wt.part.WTPartDescribeLink:202833')?$expand=DescribedBy,Describes
Example: Navigating to Described By Documents Associated with a Skill Object
The example below shows you how to retrieve Described By Documents associated with a specific Skill object. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Skills('OR:com.ptc.windchill.mpml.resource.MPMSkill:199136')/DescribedBy?$expand=DescribedBy,Describes
The example below shows you how to retrieve Described By Documents associated with a Skill object by specifying the Skill and WTPartDescribeLink OIDs in the request URI. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Skills('OR:com.ptc.windchill.mpml.resource.MPMSkill:199136')/DescribedBy('OR:wt.part.WTPartDescribeLink:202833')?$expand=DescribedBy,Describes
Example: Navigating to Described By Documents Associated with a Tooling Object
The example below shows you how to retrieve Described By Documents associated with a specific Tooling object. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:197404')/DescribedBy?$expand=DescribedBy,Describes
The example below shows you how to retrieve Described By Documents associated with a Tooling object by specifying the Tooling and WTPartDescribeLink OIDs in the request URI. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:197404')/DescribedBy('OR:wt.part.WTPartDescribeLink:202833')?$expand=DescribedBy,Describes
Example: Navigating to Described By Documents Associated with a Work Center Object
The example below shows you how to retrieve Described By Documents associated with a specific Work Center object. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/WorkCenters('OR:com.ptc.windchill.mpml.resource.MPMWorkCenter:199454')/DescribedBy?$expand=DescribedBy,Describes
The example below shows you how to retrieve Described By Documents associated with a Work Center object by specifying the Work Center and WTPartDescribeLink OIDs in the request URI. Use the following GET request with expand.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/WorkCenters('OR:com.ptc.windchill.mpml.resource.MPMWorkCenter:199454')/DescribedBy('OR:wt.part.WTPartDescribeLink:202833')?$expand=DescribedBy,Describes