GET api/RouteLines/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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"
}

application/xml, text/xml

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