GET api/Etms/GetEmergencyContactNumber?EmployeeId={EmployeeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfListOfSvcGetEmergencyContactNumberMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | Collection of SvcGetEmergencyContactNumberMDL |
None. |
|
| status | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Description": "sample string 2",
"Result": true,
"Data": [
{
"EmergencyContactId": 1,
"EmployeeId": 2,
"EmergencyContactName": "sample string 3",
"EmergencyContactNumber": "sample string 4"
},
{
"EmergencyContactId": 1,
"EmployeeId": 2,
"EmergencyContactName": "sample string 3",
"EmergencyContactNumber": "sample string 4"
}
],
"status": 4,
"TotalCount": 5
}
application/xml, text/xml
Sample:
<ServiceResultOfArrayOfSvcGetEmergencyContactNumberMDLZtd1f7XL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.Etms">
<d2p1:SvcGetEmergencyContactNumberMDL>
<d2p1:EmergencyContactId>1</d2p1:EmergencyContactId>
<d2p1:EmergencyContactName>sample string 3</d2p1:EmergencyContactName>
<d2p1:EmergencyContactNumber>sample string 4</d2p1:EmergencyContactNumber>
<d2p1:EmployeeId>2</d2p1:EmployeeId>
</d2p1:SvcGetEmergencyContactNumberMDL>
<d2p1:SvcGetEmergencyContactNumberMDL>
<d2p1:EmergencyContactId>1</d2p1:EmergencyContactId>
<d2p1:EmergencyContactName>sample string 3</d2p1:EmergencyContactName>
<d2p1:EmergencyContactNumber>sample string 4</d2p1:EmergencyContactNumber>
<d2p1:EmployeeId>2</d2p1:EmployeeId>
</d2p1:SvcGetEmergencyContactNumberMDL>
</Data>
<Description>sample string 2</Description>
<Message>sample string 1</Message>
<Result>true</Result>
<TotalCount>5</TotalCount>
<status>4</status>
</ServiceResultOfArrayOfSvcGetEmergencyContactNumberMDLZtd1f7XL>