GET api/RouteLines

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RouteLine
NameDescriptionTypeAdditional information
ID

integer

None.

RouteName

string

Required

String length: inclusive between 0 and 50

PolyLine

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "RouteName": "sample string 2",
    "PolyLine": "sample string 3"
  },
  {
    "ID": 1,
    "RouteName": "sample string 2",
    "PolyLine": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRouteLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AVLWeb.Models">
  <RouteLine>
    <ID>1</ID>
    <PolyLine>sample string 3</PolyLine>
    <RouteName>sample string 2</RouteName>
  </RouteLine>
  <RouteLine>
    <ID>1</ID>
    <PolyLine>sample string 3</PolyLine>
    <RouteName>sample string 2</RouteName>
  </RouteLine>
</ArrayOfRouteLine>