POST TransitApi/Region

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:
{
  "Content": "sample string 1",
  "Zone": {
    "NELatitude": 1.1,
    "NELongitude": 2.1,
    "SWLatitude": 3.1,
    "SWLongitude": 4.1
  }
}

application/xml, text/xml

Sample:
<RegionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <Content>sample string 1</Content>
  <Zone>
    <NELatitude>1.1</NELatitude>
    <NELongitude>2.1</NELongitude>
    <SWLatitude>3.1</SWLatitude>
    <SWLongitude>4.1</SWLongitude>
  </Zone>
</RegionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Stops": [
    {
      "Type": "sample string 1",
      "Coords": {
        "Latitude": 1.1,
        "Longitude": 2.1
      },
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Shelter": true,
      "WheelchairAccessible": true,
      "AgencyId": "sample string 6",
      "PublicId": "sample string 7",
      "Id": "sample string 8",
      "Direction": "sample string 9"
    },
    {
      "Type": "sample string 1",
      "Coords": {
        "Latitude": 1.1,
        "Longitude": 2.1
      },
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Shelter": true,
      "WheelchairAccessible": true,
      "AgencyId": "sample string 6",
      "PublicId": "sample string 7",
      "Id": "sample string 8",
      "Direction": "sample string 9"
    },
    {
      "Type": "sample string 1",
      "Coords": {
        "Latitude": 1.1,
        "Longitude": 2.1
      },
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Shelter": true,
      "WheelchairAccessible": true,
      "AgencyId": "sample string 6",
      "PublicId": "sample string 7",
      "Id": "sample string 8",
      "Direction": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<Locations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <Stops>
    <BusStop>
      <AgencyId>sample string 6</AgencyId>
      <Coords>
        <Latitude>1.1</Latitude>
        <Longitude>2.1</Longitude>
      </Coords>
      <Description>sample string 3</Description>
      <Direction>sample string 9</Direction>
      <Id>sample string 8</Id>
      <Name>sample string 2</Name>
      <PublicId>sample string 7</PublicId>
      <Shelter>true</Shelter>
      <Type>sample string 1</Type>
      <WheelchairAccessible>true</WheelchairAccessible>
    </BusStop>
    <BusStop>
      <AgencyId>sample string 6</AgencyId>
      <Coords>
        <Latitude>1.1</Latitude>
        <Longitude>2.1</Longitude>
      </Coords>
      <Description>sample string 3</Description>
      <Direction>sample string 9</Direction>
      <Id>sample string 8</Id>
      <Name>sample string 2</Name>
      <PublicId>sample string 7</PublicId>
      <Shelter>true</Shelter>
      <Type>sample string 1</Type>
      <WheelchairAccessible>true</WheelchairAccessible>
    </BusStop>
    <BusStop>
      <AgencyId>sample string 6</AgencyId>
      <Coords>
        <Latitude>1.1</Latitude>
        <Longitude>2.1</Longitude>
      </Coords>
      <Description>sample string 3</Description>
      <Direction>sample string 9</Direction>
      <Id>sample string 8</Id>
      <Name>sample string 2</Name>
      <PublicId>sample string 7</PublicId>
      <Shelter>true</Shelter>
      <Type>sample string 1</Type>
      <WheelchairAccessible>true</WheelchairAccessible>
    </BusStop>
  </Stops>
</Locations>