GET api/Locations?Locationid={Locationid}&Activerecordsonly={Activerecordsonly}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Locationid | integer |
Required |
|
| Activerecordsonly | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of Location| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Integrationcode | string |
None. |
|
| Name | string |
None. |
|
| Zone | string |
None. |
|
| Active | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Integrationcode": "sample string 2",
"Name": "sample string 3",
"Zone": "sample string 4",
"Active": 5
},
{
"Id": 1,
"Integrationcode": "sample string 2",
"Name": "sample string 3",
"Zone": "sample string 4",
"Active": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IntegroV6API">
<Location>
<Active>5</Active>
<Id>1</Id>
<Integrationcode>sample string 2</Integrationcode>
<Name>sample string 3</Name>
<Zone>sample string 4</Zone>
</Location>
<Location>
<Active>5</Active>
<Id>1</Id>
<Integrationcode>sample string 2</Integrationcode>
<Name>sample string 3</Name>
<Zone>sample string 4</Zone>
</Location>
</ArrayOfLocation>