Customizing Operator Advisor > Services in Operator Advisor > Personnel Management Thing Shape Services
Personnel Management Thing Shape Services
The following services are found on the personnel management Thing Shape (PTC.SCA.SCO.PersonnelManagementThingShape):
Creation Services
* 
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.
CreatePersonnelClasses—Creates one or more personnel classes based on information added to the PersonnelClasses input parameter table. Returns the list of personnel classes that were created, along with their UIDs.
Input parameters: PersonnelClasses (INFOTABLE)
Output: result (INFOTABLE)
CreatePersons—Creates one or more persons based on information added to the Persons input parameter table. Returns the list of persons that were created, along with their UIDs.
Input parameters: Persons (INFOTABLE)
Output: result (INFOTABLE)
CreatePersonToClassLinks—Creates one or more person-to-class links based on information added to the PersonToClassLinks input parameter table. Returns the list of person-to-class links that were created, along with their UIDs.
Input parameters: PersonToClassLinks (INFOTABLE)
Output: result (INFOTABLE)
Deletion Services
DeletePerson—Deletes the person with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
DeletePersonnelClass—Deletes the personnel class with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
DeletePersonToClassLink—Deletes the person-to-class link with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
Read Services
GetPerson—Retrieves the individual person with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
GetPersonnelClass—Retrieves the individual personnel class with the specified UID.
Input parameters: UID (STRING)
Output: result (INFOTABLE)
GetPersonToClassLinks—Retrieves a list of all person-to-class links with the specified parent UID.
Input parameters: ParentUID (STRING)
Output: result (INFOTABLE)
GetPersonToClassLinksByPersonnelClass—Retrieves the person-to-class links with the specified personnel class UID.
Input parameters: PersonnelClassUID (STRING)
Output: result (INFOTABLE)
Update Services
UpdatePersonnelClasses—Updates one or more personnel classes by UID, using the information added to the PersonnelClasses input parameter table. Returns the list of personnel classes that were updated.
Input parameters: PersonnelClasses (INFOTABLE)
Output: result (INFOTABLE)
UpdatePersons—Updates one or more persons by UID, using the information added to the Persons input parameter table. Returns the list of persons that were updated.
Input parameters: Persons (INFOTABLE)
Output: result (INFOTABLE)
UpdatePersonToClassLinks—Updates one or more person-to-class links by UID, using the information added to the PersonToClassLinks input parameter table. Returns the list of person-to-class links that were updated.
Input parameters: PersonToClassLinks (INFOTABLE)
Output: result (INFOTABLE)
Miscellaneous and Utility Services
GetPersonnelDBInfo—Retrieves the database table information related to personnel, such as database table column names. Used internally by other services. Not intended for standalone use.
Input parameters: No inputs
Output: result (JSON)
Was this helpful?