Retrieving Effectivities for an Extended Data Object
Example: Retrieving Effectivities for an Extended Data Object
This example shows you how to retrieve effectivities for an extended data object. Use the following URI with the GET method. It will show all the effectivities for the specific extended data object.
URI
GET /Windchill/servlet/odata/BomTransformation/ExtendedDatas('<ExtendedDataId>')/Effectivities
This call can be expanded to show the effectivity context using the following URI with the GET method:
GET /Windchill/servlet/odata/BomTransformation/ExtendedDatas('<ExtendedDataId>')/Effectivities?$expand=EffectivityContext
The call can further be expanded to get more information about a specific type of effectivity — for example we can retrieve the date effectivities for a specific extended data object using the following URI
GET /Windchill/servlet/odata/BomTransformation/ExtendedDatas('<ExtendedDataId>')/Effectivities/PTC.EffectivityMgmt.DateEffectivity?$expand=EffectivityContext
You can also retrieve a specific effectivity of an extended data object by specifying the OID of the effectivity as shown in the example below:
GET /Windchill/servlet/odata/BomTransformation/ExtendedDatas('<ExtendedDataId>')/Effectivities('<EffectivityId>')
Was this helpful?