Customizing Operator Advisor > Services in Operator Advisor > Enumeration Management Thing Shape Services
Enumeration Management Thing Shape Services
The following services are found on the enumeration management Thing Shape (PTC.SCA.SCO.EnumerationManagementThingShape):
* 
When creating any object that is part of the Operator Advisor data model, the UID value is automatically generated by the system. Any value you enter in the UID field is ignored.
Material Use Services
CreateMaterialUses—Creates one or more material use values based on information added to the MaterialUses input parameter table. Returns the list of material use values that were created, along with their UIDs.
Input parameters: MaterialUses (INFOTABLE)
Output: result (INFOTABLE)
GetMaterialUse—Retrieves the material use value with the specified UID.
Input parameters: UID (LONG)
Output: result (INFOTABLE)
GetMaterialUses—Retrieves a list of all material use value.
Input parameters: No inputs.
Output: result (INFOTABLE)
UpdateMaterialUses—Updates one or more material use values by UID, using the information added to the MaterialUses input parameter table. Returns the list of material use values that were updated, along with their UIDs.
Input parameters: MaterialUses (INFOTABLE)
Output: result (INFOTABLE)
DeleteMaterialUse—Deletes the material use values with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
Work Definition Execution Status Services
CreateWorkDefinitionExecutionStatuses—Creates one or more work definition execution statues based on information added to the WorkDefinitionExecutionStatuses input parameter table. Returns the list of work definition execution statuses that were created, along with their UIDs.
Input parameters: WorkDefinitionExecutionStatuses (INFOTABLE)
Output: result (INFOTABLE)
DeleteWorkDefinitionExecutionStatus—Deletes the work definition execution status with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
GetWorkDefinitionExecutionStatus—Retrieves the work definition execution status with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
GetWorkDefinitionExecutionStatuses—Retrieves a list of all work definition execution statuses.
Input parameters: No input
Output: result (INFOTABLE)
UpdateWorkDefinitionExecutionStatuses—Updates one or more work definition execution statuses by UID, using the information added to the WorkDefinitionExecutionStatuses input parameter table. Returns the list of work definition execution statuses that were updated, along with their UIDs.
Input parameters: WorkDefinitionExecutionStatuses (INFOTABLE)
Output: result (INFOTABLE)
Was this helpful?