Retrieving Information of a Specific Tooling
This example shows you how to retrieve information of a specific Tooling. The example shows you how to retrieve security labels, effectivities, and associated option set of a Tooling. Use the following GET URIs.
URI for Retrieving Security Labels of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')
URI for Retrieving Security Labels of All the Revisions of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Revisions
URI for Retrieving Security Labels of a Specific Revision of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Revisions('VR:com.ptc.windchill.mpml.resource.MPMTooling:296330')
URI for Retrieving Security Labels of All the Versions of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Versions
URI for Retrieving Security Labels of a Specific Version of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Versions('VR:com.ptc.windchill.mpml.resource.MPMTooling:296330')
URI for Retrieving All Effectivities of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Effectivities
URI for Retrieving Effectivity Context
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Effectivities?$expand=EffectivityContext
URI for Retrieving a Specific Effectivity of a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/Effectivities('OR:wt.part.ProductLotNumberEffectivity:222528')
URI for Retrieving the Option Set Associated with a Specific Tooling
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')/AssignedOptionSet
URI with Expand on Assigned Option Set
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('OR:com.ptc.windchill.mpml.resource.MPMTooling:215996')?$expand=AssignedOptionSet
Example: Retrieving Changes Associated with a Specific Tooling
This example shows you how to retrieve changes associated with a specific Tooling. Use the following GET URI.
URI
GET /Windchill/servlet/odata/MfgProcMgmt/Toolings('VR:com.ptc.windchill.mpml.resource.MPMTooling:253726')
In this example, the response also includes a canonical link, for example,
"href":"http://pwdcsv-wrs01d.ptcnet.ptc.com/Windchill/servlet/odata/v6/ChangeMgmt/Changeables('VR:com.ptc.windchill.mpml.resource.MPMTooling:253727')"
When you click the canonical link, you can retrieve information of the Change object.
Similarly, you can retrieve changes associated with a subtype of a Tooling object by specifying the subtype OID in the request URI.