Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Manufacturing Process Management Domain > Retrieving MPMCompatibilityLinks and Compatible Resources for a Resource
  
Retrieving MPMCompatibilityLinks and Compatible Resources for a Resource
An MPMCompatibilityLink exists between a resource and the compatible resource associated with it.
You can retrieve MPMCompatibilityLinks and information about compatible resources associated with a resource (Process Material, Skill, Tooling, or Work Center) by using the MPMCompatibilityLinks navigation with expand on resources (here, termed as References). You can also read the custom attributes for the resource, MPMCompatibilityLinks, and compatible resources associated with the resource.
This example shows you how to retrieve all MPMCompatibilityLinks and information about all compatible resources associated with a Tooling object by specifying the resource (here, Tooling) OID in the request URI. Use the following GET URI.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Resources('OR:com.ptc.windchill.mpml.resource.MPMTooling:196079')/MPMCompatibilityLinks?$expand=References
The request returns the MPMCompatibilityLink objects and the compatible resources associated with the specified Tooling object along with their custom attributes.
Example: Retrieving a Specific MPMCompatibilityLink for a Specific Resource
This example shows you how to retrieve information about a specific MPMCompatibilityLink for a specific Tooling object by specifying the Tooling OID and MPMCompatibilityLink OID in the request URI. Use the following GET URI.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Resources('OR:com.ptc.windchill.mpml.resource.MPMTooling:196079')/MPMCompatibilityLinks('OR:com.ptc.windchill.mpml.MPMCompatibilityLink:212784')