POST TransitApi/Routes

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Agency": "sample string 1"
}

application/xml, text/xml

Sample:
<DataSetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <Agency>sample string 1</Agency>
</DataSetRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 3",
    "InternalId": "sample string 4",
    "GeoDirection": "sample string 2",
    "SName": "sample string 8",
    "LName": "sample string 5",
    "Type": 10,
    "Color": "sample string 1",
    "TextColor": "sample string 9",
    "Shp": "sample string 6",
    "Stops": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "ShpId": "sample string 7"
  },
  {
    "Id": "sample string 3",
    "InternalId": "sample string 4",
    "GeoDirection": "sample string 2",
    "SName": "sample string 8",
    "LName": "sample string 5",
    "Type": 10,
    "Color": "sample string 1",
    "TextColor": "sample string 9",
    "Shp": "sample string 6",
    "Stops": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "ShpId": "sample string 7"
  },
  {
    "Id": "sample string 3",
    "InternalId": "sample string 4",
    "GeoDirection": "sample string 2",
    "SName": "sample string 8",
    "LName": "sample string 5",
    "Type": 10,
    "Color": "sample string 1",
    "TextColor": "sample string 9",
    "Shp": "sample string 6",
    "Stops": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "ShpId": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRouteIndex xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <RouteIndex>
    <Color>sample string 1</Color>
    <GeoDirection>sample string 2</GeoDirection>
    <Id>sample string 3</Id>
    <InternalId>sample string 4</InternalId>
    <LName>sample string 5</LName>
    <SName>sample string 8</SName>
    <Shp>sample string 6</Shp>
    <ShpId>sample string 7</ShpId>
    <Stops xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </Stops>
    <TextColor>sample string 9</TextColor>
    <Type>10</Type>
  </RouteIndex>
  <RouteIndex>
    <Color>sample string 1</Color>
    <GeoDirection>sample string 2</GeoDirection>
    <Id>sample string 3</Id>
    <InternalId>sample string 4</InternalId>
    <LName>sample string 5</LName>
    <SName>sample string 8</SName>
    <Shp>sample string 6</Shp>
    <ShpId>sample string 7</ShpId>
    <Stops xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </Stops>
    <TextColor>sample string 9</TextColor>
    <Type>10</Type>
  </RouteIndex>
  <RouteIndex>
    <Color>sample string 1</Color>
    <GeoDirection>sample string 2</GeoDirection>
    <Id>sample string 3</Id>
    <InternalId>sample string 4</InternalId>
    <LName>sample string 5</LName>
    <SName>sample string 8</SName>
    <Shp>sample string 6</Shp>
    <ShpId>sample string 7</ShpId>
    <Stops xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </Stops>
    <TextColor>sample string 9</TextColor>
    <Type>10</Type>
  </RouteIndex>
</ArrayOfRouteIndex>