POST api/Employee/ManageEmergencyContact
Request Information
URI Parameters
None.
Body Parameters
EmergencyContactInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| ContactPerson | string |
None. |
|
| ContactRelation | string |
None. |
|
| ContactNo | string |
None. |
|
| ContactAdd | string |
None. |
|
| UserId | integer |
None. |
|
| Mode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"ContactPerson": "sample string 2",
"ContactRelation": "sample string 3",
"ContactNo": "sample string 4",
"ContactAdd": "sample string 5",
"UserId": 6,
"Mode": 7
}
application/xml, text/xml
Sample:
<EmergencyContactInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRModel.ViewModel.Employees"> <ContactAdd>sample string 5</ContactAdd> <ContactNo>sample string 4</ContactNo> <ContactPerson>sample string 2</ContactPerson> <ContactRelation>sample string 3</ContactRelation> <EmpId>1</EmpId> <Mode>7</Mode> <UserId>6</UserId> </EmergencyContactInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |