Functions Available in the PTC Sustainability Domain
Some of the functions available in the PTC Sustainability domain are listed below.
GetValidStateTransitions()
The GetValidStateTransitions() function retrieves the valid state transitions of an engineering material object.
The following is an example of the GetValidStateTransitions() function for an engineering material object:
GET /Windchill/servlet/odata/Sustainability/EngineeringMaterials('OR:wt.part.WTPart:536532')/PTC.Sustainability.GetValidStateTransitions()
GetLifeCycleTemplate()
The
GetLifeCycleTemplate() returns the life cycle template associated with a lifecycle managed engineering material object along with all its states. For more information, see
Getting Information About Windchill Life Cycle States.
The following is an example of the GetLifeCycleTemplate() function for an engineering material object:
GET /Windchill/servlet/odata/Sustainability/EngineeringMaterials('OR:wt.part.WTPart:536532')/PTC.Sustainability.GetLifeCycleTemplate()
Refer to the domain EDM for a complete list of functions.