POST TransitApi/Stops

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 2",
    "Code": "sample string 1",
    "Name": "sample string 3",
    "LatLng": {
      "Latitude": 1.1,
      "Longitude": 2.1
    },
    "Parent": "sample string 4",
    "Routes": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  {
    "Id": "sample string 2",
    "Code": "sample string 1",
    "Name": "sample string 3",
    "LatLng": {
      "Latitude": 1.1,
      "Longitude": 2.1
    },
    "Parent": "sample string 4",
    "Routes": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  {
    "Id": "sample string 2",
    "Code": "sample string 1",
    "Name": "sample string 3",
    "LatLng": {
      "Latitude": 1.1,
      "Longitude": 2.1
    },
    "Parent": "sample string 4",
    "Routes": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfStopIndex xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <StopIndex>
    <Code>sample string 1</Code>
    <Id>sample string 2</Id>
    <LatLng>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
    </LatLng>
    <Name>sample string 3</Name>
    <Parent>sample string 4</Parent>
    <Routes 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>
    </Routes>
  </StopIndex>
  <StopIndex>
    <Code>sample string 1</Code>
    <Id>sample string 2</Id>
    <LatLng>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
    </LatLng>
    <Name>sample string 3</Name>
    <Parent>sample string 4</Parent>
    <Routes 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>
    </Routes>
  </StopIndex>
  <StopIndex>
    <Code>sample string 1</Code>
    <Id>sample string 2</Id>
    <LatLng>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
    </LatLng>
    <Name>sample string 3</Name>
    <Parent>sample string 4</Parent>
    <Routes 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>
    </Routes>
  </StopIndex>
</ArrayOfStopIndex>