GET api/CustomerLocations
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerLocations| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | string |
None. |
|
| CustomerNumber | string |
None. |
|
| ShipTo | string |
None. |
|
| CustomerName | string |
None. |
|
| TelephoneNumber | string |
None. |
|
| TaxLoc | string |
None. |
|
| ValidTaxes | string |
None. |
|
| NextVisit | date |
None. |
|
| GpsLat | decimal number |
None. |
|
| GpsLong | decimal number |
None. |
|
| CustomerLocationId | integer |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| ZipCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CompanyId": "sample string 1",
"CustomerNumber": "sample string 2",
"ShipTo": "sample string 3",
"CustomerName": "sample string 4",
"TelephoneNumber": "sample string 5",
"TaxLoc": "sample string 6",
"ValidTaxes": "sample string 7",
"NextVisit": "2025-12-10T16:36:26.0567549-04:00",
"GpsLat": 8.0,
"GpsLong": 9.0,
"CustomerLocationId": 10,
"Address1": "sample string 11",
"Address2": "sample string 12",
"City": "sample string 13",
"State": "sample string 14",
"ZipCode": "sample string 15"
},
{
"CompanyId": "sample string 1",
"CustomerNumber": "sample string 2",
"ShipTo": "sample string 3",
"CustomerName": "sample string 4",
"TelephoneNumber": "sample string 5",
"TaxLoc": "sample string 6",
"ValidTaxes": "sample string 7",
"NextVisit": "2025-12-10T16:36:26.0567549-04:00",
"GpsLat": 8.0,
"GpsLong": 9.0,
"CustomerLocationId": 10,
"Address1": "sample string 11",
"Address2": "sample string 12",
"City": "sample string 13",
"State": "sample string 14",
"ZipCode": "sample string 15"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerLocations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EGas.DataAccess">
<CustomerLocations>
<Address1>sample string 11</Address1>
<Address2>sample string 12</Address2>
<City>sample string 13</City>
<CompanyId>sample string 1</CompanyId>
<CustomerLocationId>10</CustomerLocationId>
<CustomerName>sample string 4</CustomerName>
<CustomerNumber>sample string 2</CustomerNumber>
<GpsLat>8</GpsLat>
<GpsLong>9</GpsLong>
<NextVisit>2025-12-10T16:36:26.0567549-04:00</NextVisit>
<ShipTo>sample string 3</ShipTo>
<State>sample string 14</State>
<TaxLoc>sample string 6</TaxLoc>
<TelephoneNumber>sample string 5</TelephoneNumber>
<ValidTaxes>sample string 7</ValidTaxes>
<ZipCode>sample string 15</ZipCode>
</CustomerLocations>
<CustomerLocations>
<Address1>sample string 11</Address1>
<Address2>sample string 12</Address2>
<City>sample string 13</City>
<CompanyId>sample string 1</CompanyId>
<CustomerLocationId>10</CustomerLocationId>
<CustomerName>sample string 4</CustomerName>
<CustomerNumber>sample string 2</CustomerNumber>
<GpsLat>8</GpsLat>
<GpsLong>9</GpsLong>
<NextVisit>2025-12-10T16:36:26.0567549-04:00</NextVisit>
<ShipTo>sample string 3</ShipTo>
<State>sample string 14</State>
<TaxLoc>sample string 6</TaxLoc>
<TelephoneNumber>sample string 5</TelephoneNumber>
<ValidTaxes>sample string 7</ValidTaxes>
<ZipCode>sample string 15</ZipCode>
</CustomerLocations>
</ArrayOfCustomerLocations>