GET api/EmployeeAddressByAddresType?EmployeeId={EmployeeId}&AddressTypeId={AddressTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
|
| AddressTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfListOfSvcGetAddressForEmployeeByTypeMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | Collection of SvcGetAddressForEmployeeByTypeMDL |
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": [
{
"AddressId": 1,
"AddressTypeId": 2,
"AddressOfLocation": "sample string 3",
"DisplayName": "sample string 4",
"AddressLat": "sample string 5",
"AddressLong": "sample string 6"
},
{
"AddressId": 1,
"AddressTypeId": 2,
"AddressOfLocation": "sample string 3",
"DisplayName": "sample string 4",
"AddressLat": "sample string 5",
"AddressLong": "sample string 6"
}
],
"status": 4,
"TotalCount": 5
}
application/xml, text/xml
Sample:
<ServiceResultOfArrayOfSvcGetAddressForEmployeeByTypeMDL_PUa0JunP 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">
<d2p1:SvcGetAddressForEmployeeByTypeMDL>
<d2p1:AddressId>1</d2p1:AddressId>
<d2p1:AddressLat>sample string 5</d2p1:AddressLat>
<d2p1:AddressLong>sample string 6</d2p1:AddressLong>
<d2p1:AddressOfLocation>sample string 3</d2p1:AddressOfLocation>
<d2p1:AddressTypeId>2</d2p1:AddressTypeId>
<d2p1:DisplayName>sample string 4</d2p1:DisplayName>
</d2p1:SvcGetAddressForEmployeeByTypeMDL>
<d2p1:SvcGetAddressForEmployeeByTypeMDL>
<d2p1:AddressId>1</d2p1:AddressId>
<d2p1:AddressLat>sample string 5</d2p1:AddressLat>
<d2p1:AddressLong>sample string 6</d2p1:AddressLong>
<d2p1:AddressOfLocation>sample string 3</d2p1:AddressOfLocation>
<d2p1:AddressTypeId>2</d2p1:AddressTypeId>
<d2p1:DisplayName>sample string 4</d2p1:DisplayName>
</d2p1:SvcGetAddressForEmployeeByTypeMDL>
</Data>
<Description>sample string 2</Description>
<Message>sample string 1</Message>
<Result>true</Result>
<TotalCount>5</TotalCount>
<status>4</status>
</ServiceResultOfArrayOfSvcGetAddressForEmployeeByTypeMDL_PUa0JunP>