employees
Updates all information in one employee profile. This endpoint replaces all information on the record, so fields which are not specified will be cleared. First name, last name and email cannot be modified for employee profiles which correspond to users who can log in to the system.
Request Information
URI Parameters
None.
Body Parameters
An employee to update
UpdateEmployeeDtoName | Description | Type | Additional information |
---|---|---|---|
id |
The eCMS ID of the employee profile to update |
integer |
Required Range: inclusive between 1 and 9.22337203685478E+18 |
emailAddress | string |
None. |
|
employeeId |
The alphanumeric identifier for the employee |
string |
None. |
firstName | string |
Required |
|
lastName | string |
Required |
|
phoneNumber | string |
None. |
|
hireDate |
ISO-8601 format of: yyyy-mm-dd, such as 1989-05-22 or MMM-dd-yyyy (MAY-22-1989) |
string |
None. |
terminationDate |
Date of termination. Leave blank for current employees. If this employee has a user account, they will no longer be able to log in after this date. ISO-8601 format of: yyyy-mm-dd, such as 1989-05-22 or MMM-dd-yyyy (MAY-22-1989) |
string |
None. |
notes | string |
None. |
|
sites |
All site memberships. Any current memberships that are not included here will be removed. |
Collection of EmployeeSiteDto |
None. |
isSingleSignOnUser | boolean |
None. |
Response Information
Standard Responses
None.
Error Responses
HTTP Status Code | Error Message | Type | Additional Information |
---|