List of Employee Web Services Calls
This section describes the calls the Employee Web Services can accept from the client application.
Call | Description |
---|---|
ActivateUser |
Activates employees' user names so that they can log in to PureSafety. |
AddAddress |
Adds new addresses to existing employee records in PureSafety. You can indicate if the new address should be the primary address. |
AddEmailAddress |
Adds email addresses to existing employee records in PureSafety. You can indicate if the new address should be the primary email address. Email messages generated by PureSafety are sent to employees' primary email address. |
AddPhone |
Adds phone numbers to existing employee records in PureSafety. You can indicate if the new phone number should be the primary phone number. |
CreateEmployee |
Adds one or more employee records in PureSafety. The new employee records include only employee code, first name, and last name. You cannot add other details to employee records created using this call. |
CreateEmployeeDetails |
Adds one or more employee records in PureSafety. The new employee records include details you specify in the call. You can include any of the fields listed in the Optional Fields column. See Appendix C for details about each field. Use this call if you want to create records with additional data besides employee code, first name, and last name. |
CreateEmployeeWithUser |
Adds one or more employee records in PureSafety and also adds PureSafety user names and passwords for each new record. The new employee record includes the
following information:
Use this call if you want to create user login information in PureSafety when creating new employee records through the Employee Web Service. |
CreateUserForEmployee |
Adds PureSafety login information (user name and password) to employee records that already exist in PureSafety. |
DeActivateUser |
Deactivates employees' user names so that they cannot log in to PureSafety. Use this call when an employee has login credentials and cannot be deleted. |
DeleteEmployee |
Deletes one or more employee records in PureSafety. |
UpdateEmployee |
Updates one or more employee records in PureSafety. This call uses the employee code, first name, and last name to identify the record to be updated. You can update any of the fields listed in the Optional Fields column. See Appendix C for details about each field. |
UpsertEmployee |
Creates new records and updates existing records. It uses the employee's code, first name, and last name to determine if a record already exists in the PureSafety. A best practice is to use the UpsertEmployee call instead of the CreateEmployee to avoid creating unwanted duplicate records. You can create or update information in any of the fields listed in the Optional Fields column. See Appendix C for details about each field. |