POST TransitApi/Landmarks

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 1",
    "Description": "sample string 2",
    "POIS": [
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      }
    ]
  },
  {
    "Id": "sample string 1",
    "Description": "sample string 2",
    "POIS": [
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      }
    ]
  },
  {
    "Id": "sample string 1",
    "Description": "sample string 2",
    "POIS": [
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      {
        "Id": "sample string 1",
        "Description": "sample string 2",
        "Latitude": 3.1,
        "Longitude": 4.1,
        "Stops": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfLandmark xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <Landmark>
    <Description>sample string 2</Description>
    <Id>sample string 1</Id>
    <POIS>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
    </POIS>
  </Landmark>
  <Landmark>
    <Description>sample string 2</Description>
    <Id>sample string 1</Id>
    <POIS>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
    </POIS>
  </Landmark>
  <Landmark>
    <Description>sample string 2</Description>
    <Id>sample string 1</Id>
    <POIS>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
      <POI>
        <Description>sample string 2</Description>
        <Id>sample string 1</Id>
        <Latitude>3.1</Latitude>
        <Longitude>4.1</Longitude>
        <Stops xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </Stops>
      </POI>
    </POIS>
  </Landmark>
</ArrayOfLandmark>