GET Api/Employee/GetProjectAddress/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProjectAddressViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| EmployeeName | string |
None. |
|
| ProjectId | integer |
None. |
|
| ProjectName | string |
None. |
|
| AddressId | integer |
None. |
|
| StreetAddress | string |
None. |
|
| AreaName | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| PinCode | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Radius | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"ProjectId": 3,
"ProjectName": "sample string 4",
"AddressId": 5,
"StreetAddress": "sample string 6",
"AreaName": "sample string 7",
"City": "sample string 8",
"State": "sample string 9",
"PinCode": "sample string 10",
"Latitude": 1.1,
"Longitude": 1.1,
"Radius": 11
},
{
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"ProjectId": 3,
"ProjectName": "sample string 4",
"AddressId": 5,
"StreetAddress": "sample string 6",
"AreaName": "sample string 7",
"City": "sample string 8",
"State": "sample string 9",
"PinCode": "sample string 10",
"Latitude": 1.1,
"Longitude": 1.1,
"Radius": 11
}
]
application/xml, text/xml
Sample:
<ArrayOfProjectAddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
<ProjectAddressViewModel>
<AddressId>5</AddressId>
<AreaName>sample string 7</AreaName>
<City>sample string 8</City>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<PinCode>sample string 10</PinCode>
<ProjectId>3</ProjectId>
<ProjectName>sample string 4</ProjectName>
<Radius>11</Radius>
<State>sample string 9</State>
<StreetAddress>sample string 6</StreetAddress>
</ProjectAddressViewModel>
<ProjectAddressViewModel>
<AddressId>5</AddressId>
<AreaName>sample string 7</AreaName>
<City>sample string 8</City>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<PinCode>sample string 10</PinCode>
<ProjectId>3</ProjectId>
<ProjectName>sample string 4</ProjectName>
<Radius>11</Radius>
<State>sample string 9</State>
<StreetAddress>sample string 6</StreetAddress>
</ProjectAddressViewModel>
</ArrayOfProjectAddressViewModel>