Customizing Operator Advisor > Services in Operator Advisor > Workforce Management Thing Shape Services
Workforce Management Thing Shape Services
The following services are found on the workforce management Thing Shape (PTC.SCA.SCO.WorkforceManagementThingShape):
* 
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.
CreateCrews—Creates one or more crews using information added to the Crews input parameter table. Returns a list of the crews that were created, along with their UIDs.
Input parameters: Crews (INFOTABLE)
Output: result (INFOTABLE)
DeleteCrew—Deletes the crew with the specified UID.
Input parameters: UID (String)
Output: result (INFOTABLE)
DeleteCrewAndLinks—Deletes the crew with the specified UID, and all related links referencing the crew.
Input parameters: CrewUID (String)
Output: result (INFOTABLE)
GetCrew—Retrieves the individual crew with the specified UID.
Input parameters: UID (String)
Output: result (INFOTABLE)
GetCrewDBInfo—Retrieves the database table information related to crews, such as database column names. Used internally by other services. Not intended for standalone use.
Input parameters: No inputs
Output: result (JSON)
GetCrews—Retrieves a list of all crews in the database, including their UIDs. A filter can be applied with an offset and a limit to narrow the list of returned results.
Input parameters:
filter (JSON)
offset (INTEGER)
limit (INTEGER)
Output: result (INFOTABLE)
UpdateCrews—Updates one or more crews by UID, using information added to the Crews input parameter table. Returns the list of all crews that were updated.
Input parameters: Crews (INFOTABLE)
Output: result (INFOTABLE)
Was this helpful?