POST TransitApi/Schedules

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:
{
  "Date": "sample string 1",
  "AgencyId": "sample string 2",
  "RouteId": "sample string 3",
  "Direction": 4,
  "StopId": "sample string 5",
  "TripId": "sample string 6",
  "TripStop": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<ScheduleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <AgencyId>sample string 2</AgencyId>
  <Date>sample string 1</Date>
  <Direction>4</Direction>
  <RouteId>sample string 3</RouteId>
  <StopId>sample string 5</StopId>
  <TripId>sample string 6</TripId>
  <TripStop 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>
  </TripStop>
</ScheduleRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "RouteId": "sample string 1",
  "RouteType": "sample string 2",
  "AgencyId": "sample string 3",
  "StopId": "sample string 4",
  "Date": "2020-07-08T23:47:48.7137687-04:00",
  "Today": [
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    },
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    },
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    }
  ],
  "Yesterday": [
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    },
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    },
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    }
  ],
  "NextDay": [
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    },
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    },
    {
      "TripId": "sample string 1",
      "Sequence": 2,
      "RealTime": true,
      "WheelChairAccess": true,
      "DepartureTime": "sample string 5",
      "Notes": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "Cancelled": true,
      "TripHeadSign": "sample string 7",
      "BusLeft": true
    }
  ]
}

application/xml, text/xml

Sample:
<Schedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <AgencyId>sample string 3</AgencyId>
  <Date>2020-07-08T23:47:48.7137687-04:00</Date>
  <NextDay>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
  </NextDay>
  <RouteId>sample string 1</RouteId>
  <RouteType>sample string 2</RouteType>
  <StopId>sample string 4</StopId>
  <Today>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
  </Today>
  <Yesterday>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
    <PassingTime>
      <BusLeft>true</BusLeft>
      <Cancelled>true</Cancelled>
      <DepartureTime>sample string 5</DepartureTime>
      <Notes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Notes>
      <RealTime>true</RealTime>
      <Sequence>2</Sequence>
      <TripHeadSign>sample string 7</TripHeadSign>
      <TripId>sample string 1</TripId>
      <WheelChairAccess>true</WheelChairAccess>
    </PassingTime>
  </Yesterday>
</Schedule>