GET api/Locations
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Location| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationID | integer |
None. |
|
| LocationName | string |
None. |
|
| AffiliatedCustno | integer |
None. |
|
| AffiliatedSubno | integer |
None. |
|
| LocationAbbr | string |
None. |
|
| Interstate | boolean |
None. |
|
| Inactive | boolean |
None. |
|
| ReportTo1 | string |
None. |
|
| ReportTo2 | string |
None. |
|
| ReportTo3 | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LocationID": 1,
"LocationName": "sample string 2",
"AffiliatedCustno": 1,
"AffiliatedSubno": 1,
"LocationAbbr": "sample string 3",
"Interstate": true,
"Inactive": true,
"ReportTo1": "sample string 6",
"ReportTo2": "sample string 7",
"ReportTo3": "sample string 8"
},
{
"LocationID": 1,
"LocationName": "sample string 2",
"AffiliatedCustno": 1,
"AffiliatedSubno": 1,
"LocationAbbr": "sample string 3",
"Interstate": true,
"Inactive": true,
"ReportTo1": "sample string 6",
"ReportTo2": "sample string 7",
"ReportTo3": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
<Location>
<AffiliatedCustno>1</AffiliatedCustno>
<AffiliatedSubno>1</AffiliatedSubno>
<Inactive>true</Inactive>
<Interstate>true</Interstate>
<LocationAbbr>sample string 3</LocationAbbr>
<LocationID>1</LocationID>
<LocationName>sample string 2</LocationName>
<ReportTo1>sample string 6</ReportTo1>
<ReportTo2>sample string 7</ReportTo2>
<ReportTo3>sample string 8</ReportTo3>
</Location>
<Location>
<AffiliatedCustno>1</AffiliatedCustno>
<AffiliatedSubno>1</AffiliatedSubno>
<Inactive>true</Inactive>
<Interstate>true</Interstate>
<LocationAbbr>sample string 3</LocationAbbr>
<LocationID>1</LocationID>
<LocationName>sample string 2</LocationName>
<ReportTo1>sample string 6</ReportTo1>
<ReportTo2>sample string 7</ReportTo2>
<ReportTo3>sample string 8</ReportTo3>
</Location>
</ArrayOfLocation>