POST api/Employee/GetPersonEmergencyContactExist
Request Information
URI Parameters
None.
Body Parameters
PersonEmergencyContactsViewModelName | Description | Type | Additional information |
---|---|---|---|
PersonEmergencyContactID | integer |
None. |
|
PersonId | integer |
None. |
|
Name | string |
None. |
|
Relationship | string |
None. |
|
HomeContactNo | string |
None. |
|
Mobile | string |
None. |
|
WorkContactNo | string |
None. |
|
AddressID | integer |
None. |
|
HomeCountyCode | integer |
None. |
|
MobileCountryCode | integer |
None. |
|
WorkCountryCode | integer |
None. |
|
HomeExtension | string |
None. |
|
WorkExtension | string |
None. |
|
EmployeeID | integer |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
StateID | integer |
None. |
|
CountryID | integer |
None. |
|
PinCode | string |
None. |
|
CreatedBy | string |
None. |
|
LastupdatedDT | string |
None. |
|
EmployeeDependentConfigID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PersonEmergencyContactID": 1, "PersonId": 2, "Name": "sample string 3", "Relationship": "sample string 4", "HomeContactNo": "sample string 5", "Mobile": "sample string 6", "WorkContactNo": "sample string 7", "AddressID": 1, "HomeCountyCode": 8, "MobileCountryCode": 9, "WorkCountryCode": 10, "HomeExtension": "sample string 11", "WorkExtension": "sample string 12", "EmployeeID": 13, "Address1": "sample string 14", "Address2": "sample string 15", "City": "sample string 16", "StateID": 1, "CountryID": 1, "PinCode": "sample string 17", "CreatedBy": "sample string 18", "LastupdatedDT": "sample string 19", "EmployeeDependentConfigID": 20 }
application/xml, text/xml
Sample:
<PersonEmergencyContactsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Employee"> <Address1>sample string 14</Address1> <Address2>sample string 15</Address2> <AddressID>1</AddressID> <City>sample string 16</City> <CountryID>1</CountryID> <CreatedBy>sample string 18</CreatedBy> <EmployeeDependentConfigID>20</EmployeeDependentConfigID> <EmployeeID>13</EmployeeID> <HomeContactNo>sample string 5</HomeContactNo> <HomeCountyCode>8</HomeCountyCode> <HomeExtension>sample string 11</HomeExtension> <LastupdatedDT>sample string 19</LastupdatedDT> <Mobile>sample string 6</Mobile> <MobileCountryCode>9</MobileCountryCode> <Name>sample string 3</Name> <PersonEmergencyContactID>1</PersonEmergencyContactID> <PersonId>2</PersonId> <PinCode>sample string 17</PinCode> <Relationship>sample string 4</Relationship> <StateID>1</StateID> <WorkContactNo>sample string 7</WorkContactNo> <WorkCountryCode>10</WorkCountryCode> <WorkExtension>sample string 12</WorkExtension> </PersonEmergencyContactsViewModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.