Saves the employee's emergency contact details.
PUT http:///api/v2/ess/{employeeId}/emergencycontacts
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| employeeId | string | Required |
The request body takes a complete EmployeeEmergencyContactsEditModel resource, containing the following writable properties:
{
"canEdit": "boolean",
"primaryEmergencyContact": {
"address": "string",
"alternateContactNumber": "string",
"contactNumber": "string",
"id": "int32",
"name": "string",
"relationship": "string"
},
"secondaryEmergencyContact": {
"address": "string",
"alternateContactNumber": "string",
"contactNumber": "string",
"id": "int32",
"name": "string",
"relationship": "string"
}
}
| Name | Type | Description |
|---|---|---|
| canEdit | boolean | Boolean |
| primaryEmergencyContact | object | EmergencyContactEditModel |
| primaryEmergencyContact.address | string | String |
| primaryEmergencyContact.alternateContactNumber | string | String |
| primaryEmergencyContact.contactNumber | string | String |
| primaryEmergencyContact.id | int32 | Int32 |
| primaryEmergencyContact.name | string | String |
| primaryEmergencyContact.relationship | string | String |
| secondaryEmergencyContact | object | EmergencyContactEditModel |
| secondaryEmergencyContact.address | string | String |
| secondaryEmergencyContact.alternateContactNumber | string | String |
| secondaryEmergencyContact.contactNumber | string | String |
| secondaryEmergencyContact.id | int32 | Int32 |
| secondaryEmergencyContact.name | string | String |
| secondaryEmergencyContact.relationship | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
EmployeeEmergencyContactsEditModel |
Powered by DapperDox