Example: Retrieving Information of a Specific Process Material Object
This example shows you how to retrieve information of a specific Process Material object. The example shows you how to retrieve Security Labels, Effectivities, and associated Option Set of a Process Material object. Use the following GET URIs.
URI for Retrieving Security Labels of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:184730')
URI for Retrieving Security Labels of All the Revisions of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:296357')/Revisions
URI for Retrieving Security Labels of a Specific Revision of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:296357')/Revisions('VR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:296330')
URI for Retrieving Security Labels of All the Versions of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:296357')/Versions
URI for Retrieving Security Labels of a Specific Version of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:296357')/Versions('VR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:296330')
URI for Retrieving All Effectivities of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:184730')/Effectivities
URI for Retrieving Effectivity Context
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:184730')/Effectivities?$expand=EffectivityContext
URI for Retrieving a Specific Effectivity of a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:184730')/Effectivities('OR:wt.effectivity.WTDatedEffectivity:190557')
URI for Retrieving Option Set associated with a Specific Process Material Object
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:184730')/AssignedOptionSet
URI with Expand on Assigned Option Set
GET /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials('OR:com.ptc.windchill.mpml.resource.MPMProcessMaterial:184730')?$expand=AssignedOptionSet