GET api/Location?companyId={companyId}&employeeId={employeeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
|
| employeeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Response1| Name | Description | Type | Additional information |
|---|---|---|---|
| locations | Collection of Location |
None. |
Response Formats
application/json, text/json
Sample:
{
"locations": [
{
"LocationName": "sample string 1",
"LocationId": 2
},
{
"LocationName": "sample string 1",
"LocationId": 2
}
]
}
application/xml, text/xml
Sample:
<Response1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adaptive_WebApi.Models">
<locations>
<Location>
<LocationId>2</LocationId>
<LocationName>sample string 1</LocationName>
</Location>
<Location>
<LocationId>2</LocationId>
<LocationName>sample string 1</LocationName>
</Location>
</locations>
</Response1>