POST TransitApi/TripPlanner

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:
{
  "From": {
    "Latitude": 1.1,
    "Longitude": 2.1
  },
  "To": {
    "Latitude": 1.1,
    "Longitude": 2.1
  },
  "ArriveBy": "sample string 1",
  "MaxWalk": 2,
  "Date": "sample string 3",
  "Time": "sample string 4",
  "WheelChair": "sample string 5",
  "Mode": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<TripPlannerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <ArriveBy>sample string 1</ArriveBy>
  <Date>sample string 3</Date>
  <From>
    <Latitude>1.1</Latitude>
    <Longitude>2.1</Longitude>
  </From>
  <MaxWalk>2</MaxWalk>
  <Mode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </Mode>
  <Time>sample string 4</Time>
  <To>
    <Latitude>1.1</Latitude>
    <Longitude>2.1</Longitude>
  </To>
  <WheelChair>sample string 5</WheelChair>
</TripPlannerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />