GET api/General/GetLocations?empid={empid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NameValueDefaultUserLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Value | string |
None. |
|
| DefaultLocationName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Value": "sample string 2",
"DefaultLocationName": "sample string 3"
},
{
"Name": "sample string 1",
"Value": "sample string 2",
"DefaultLocationName": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfNameValueDefaultUserLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsManagerAPI.Models">
<NameValueDefaultUserLocation>
<DefaultLocationName>sample string 3</DefaultLocationName>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</NameValueDefaultUserLocation>
<NameValueDefaultUserLocation>
<DefaultLocationName>sample string 3</DefaultLocationName>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</NameValueDefaultUserLocation>
</ArrayOfNameValueDefaultUserLocation>