Back

GET api/V1/Stop/Details/{StopCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
StopCode

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Response Formats

application/json, text/json

Sample:
{
  "Metadata": {
    "TimeStamp": "sample string 1",
    "ErrorCode": "sample string 2",
    "ErrorMessage": "sample string 3"
  },
  "Stop": {
    "ZoneCode": "sample string 1",
    "StreetNumber": "sample string 2",
    "Intersection": "sample string 3",
    "City": "sample string 4",
    "StreetName": "sample string 5",
    "Code": "sample string 6",
    "StopName": "sample string 7",
    "StopNameFr": "sample string 8",
    "IsBus": true,
    "IsTrain": true,
    "Longitude": "sample string 11",
    "Latitude": "sample string 12",
    "DrivingDirections": "sample string 13",
    "DrivingDirectionsFr": "sample string 14",
    "BoardingInfo": "sample string 15",
    "BoardingInfoFr": "sample string 16",
    "TicketSales": "sample string 17",
    "TicketSalesFr": "sample string 18",
    "Facilities": [
      {
        "Code": "sample string 1",
        "Description": "sample string 2",
        "DescriptionFr": "sample string 3"
      },
      {
        "Code": "sample string 1",
        "Description": "sample string 2",
        "DescriptionFr": "sample string 3"
      }
    ],
    "Parkings": [
      {
        "Name": "sample string 1",
        "NameFr": "sample string 2",
        "ParkSpots": 3,
        "Type": "sample string 4"
      },
      {
        "Name": "sample string 1",
        "NameFr": "sample string 2",
        "ParkSpots": 3,
        "Type": "sample string 4"
      }
    ],
    "Place": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "Longitude": "0",
      "Latitude": "0",
      "Radius": "0",
      "Stops": {
        "Stop": [
          {
            "Code": "sample string 1",
            "Name": "sample string 2",
            "NameFr": "sample string 3"
          },
          {
            "Code": "sample string 1",
            "Name": "sample string 2",
            "NameFr": "sample string 3"
          }
        ]
      }
    }
  }
}

text/xml

Sample:
<Result>
  <Metadata TimeStamp="sample string 1" ErrorCode="sample string 2" ErrorMessage="sample string 3" />
  <Stop ZoneCode="sample string 1" StreetNumber="sample string 2" Intersection="sample string 3" City="sample string 4" StreetName="sample string 5" Code="sample string 6" StopName="sample string 7" StopNameFr="sample string 8" IsBus="true" IsTrain="true" Longitude="sample string 11" Latitude="sample string 12" DrivingDirections="sample string 13" DrivingDirectionsFr="sample string 14" BoardingInfo="sample string 15" BoardingInfoFr="sample string 16" TicketSales="sample string 17" TicketSalesFr="sample string 18">
    <Facilities>
      <Facility Code="sample string 1" Description="sample string 2" DescriptionFr="sample string 3" />
      <Facility Code="sample string 1" Description="sample string 2" DescriptionFr="sample string 3" />
    </Facilities>
    <Parkings>
      <Parking Name="sample string 1" NameFr="sample string 2" ParkSpots="3" Type="sample string 4" />
      <Parking Name="sample string 1" NameFr="sample string 2" ParkSpots="3" Type="sample string 4" />
    </Parkings>
    <Place Code="sample string 1" Name="sample string 2" Longitude="0" Latitude="0" Radius="0">
      <Stops>
        <Stop Code="sample string 1" Name="sample string 2" NameFr="sample string 3" />
        <Stop Code="sample string 1" Name="sample string 2" NameFr="sample string 3" />
      </Stops>
    </Place>
  </Stop>
</Result>