GET api/Routing/GetHubLocations

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of HubLocation
NameDescriptionTypeAdditional information
Name

string

None.

Zip

string

None.

Lat

decimal number

None.

Lon

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Zip": "sample string 2",
    "Lat": 3.1,
    "Lon": 4.1
  },
  {
    "Name": "sample string 1",
    "Zip": "sample string 2",
    "Lat": 3.1,
    "Lon": 4.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfHubLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models">
  <HubLocation>
    <Lat>3.1</Lat>
    <Lon>4.1</Lon>
    <Name>sample string 1</Name>
    <Zip>sample string 2</Zip>
  </HubLocation>
  <HubLocation>
    <Lat>3.1</Lat>
    <Lon>4.1</Lon>
    <Name>sample string 1</Name>
    <Zip>sample string 2</Zip>
  </HubLocation>
</ArrayOfHubLocation>