POST TransitApi/ETA

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

None.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ArrivalEstimates": [
    {
      "Comment": "sample string 1",
      "Destination": "sample string 2",
      "EstimatedDeparture": "2020-07-09T00:05:59.2433899-04:00",
      "GateBay": 4,
      "NextArrivalCountdown": "sample string 5",
      "Route": {
        "AgencyId": 1,
        "RouteDesignator": "sample string 2",
        "RouteId": 3,
        "RouteName": "sample string 4"
      },
      "RouteDirection": "sample string 6",
      "StopPoint": {
        "AgencyId": 1,
        "Designator": "sample string 2",
        "Name": "sample string 3",
        "StoppointId": 4
      },
      "Trip": {
        "AgencyDesignator": "sample string 1",
        "AgencyId": 2,
        "Designator": "sample string 3",
        "TripId": "sample string 4"
      }
    },
    {
      "Comment": "sample string 1",
      "Destination": "sample string 2",
      "EstimatedDeparture": "2020-07-09T00:05:59.2433899-04:00",
      "GateBay": 4,
      "NextArrivalCountdown": "sample string 5",
      "Route": {
        "AgencyId": 1,
        "RouteDesignator": "sample string 2",
        "RouteId": 3,
        "RouteName": "sample string 4"
      },
      "RouteDirection": "sample string 6",
      "StopPoint": {
        "AgencyId": 1,
        "Designator": "sample string 2",
        "Name": "sample string 3",
        "StoppointId": 4
      },
      "Trip": {
        "AgencyDesignator": "sample string 1",
        "AgencyId": 2,
        "Designator": "sample string 3",
        "TripId": "sample string 4"
      }
    },
    {
      "Comment": "sample string 1",
      "Destination": "sample string 2",
      "EstimatedDeparture": "2020-07-09T00:05:59.2433899-04:00",
      "GateBay": 4,
      "NextArrivalCountdown": "sample string 5",
      "Route": {
        "AgencyId": 1,
        "RouteDesignator": "sample string 2",
        "RouteId": 3,
        "RouteName": "sample string 4"
      },
      "RouteDirection": "sample string 6",
      "StopPoint": {
        "AgencyId": 1,
        "Designator": "sample string 2",
        "Name": "sample string 3",
        "StoppointId": 4
      },
      "Trip": {
        "AgencyDesignator": "sample string 1",
        "AgencyId": 2,
        "Designator": "sample string 3",
        "TripId": "sample string 4"
      }
    }
  ],
  "StopPointsArray": [
    {
      "AgencyId": 1,
      "Designator": "sample string 2",
      "Name": "sample string 3",
      "StoppointId": 4
    },
    {
      "AgencyId": 1,
      "Designator": "sample string 2",
      "Name": "sample string 3",
      "StoppointId": 4
    },
    {
      "AgencyId": 1,
      "Designator": "sample string 2",
      "Name": "sample string 3",
      "StoppointId": 4
    }
  ],
  "SubscriptionInfo": {
    "ExpirationDate": 1,
    "ExpirationTime": 2,
    "PublisherIdentifier": 3,
    "RequestIdentifier": 4,
    "RequestedType": "sample string 5",
    "SubscriberIdentifier": 6
  }
}

application/xml, text/xml

Sample:
<PiStopPointETA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISR.TCIP.Modele.Message">
  <ArrivalEstimates xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISR.TCIP.Modele.Element">
    <d2p1:SchedAdherenceCountdown>
      <d2p1:Comment>sample string 1</d2p1:Comment>
      <d2p1:Destination>sample string 2</d2p1:Destination>
      <d2p1:EstimatedDeparture>2020-07-09T00:05:59.2433899-04:00</d2p1:EstimatedDeparture>
      <d2p1:GateBay>4</d2p1:GateBay>
      <d2p1:NextArrivalCountdown>sample string 5</d2p1:NextArrivalCountdown>
      <d2p1:Route>
        <d2p1:AgencyId>1</d2p1:AgencyId>
        <d2p1:RouteDesignator>sample string 2</d2p1:RouteDesignator>
        <d2p1:RouteId>3</d2p1:RouteId>
        <d2p1:RouteName>sample string 4</d2p1:RouteName>
      </d2p1:Route>
      <d2p1:RouteDirection>sample string 6</d2p1:RouteDirection>
      <d2p1:StopPoint>
        <d2p1:AgencyId>1</d2p1:AgencyId>
        <d2p1:Designator>sample string 2</d2p1:Designator>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:StoppointId>4</d2p1:StoppointId>
      </d2p1:StopPoint>
      <d2p1:Trip>
        <d2p1:AgencyDesignator>sample string 1</d2p1:AgencyDesignator>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 3</d2p1:Designator>
        <d2p1:TripId>sample string 4</d2p1:TripId>
      </d2p1:Trip>
    </d2p1:SchedAdherenceCountdown>
    <d2p1:SchedAdherenceCountdown>
      <d2p1:Comment>sample string 1</d2p1:Comment>
      <d2p1:Destination>sample string 2</d2p1:Destination>
      <d2p1:EstimatedDeparture>2020-07-09T00:05:59.2433899-04:00</d2p1:EstimatedDeparture>
      <d2p1:GateBay>4</d2p1:GateBay>
      <d2p1:NextArrivalCountdown>sample string 5</d2p1:NextArrivalCountdown>
      <d2p1:Route>
        <d2p1:AgencyId>1</d2p1:AgencyId>
        <d2p1:RouteDesignator>sample string 2</d2p1:RouteDesignator>
        <d2p1:RouteId>3</d2p1:RouteId>
        <d2p1:RouteName>sample string 4</d2p1:RouteName>
      </d2p1:Route>
      <d2p1:RouteDirection>sample string 6</d2p1:RouteDirection>
      <d2p1:StopPoint>
        <d2p1:AgencyId>1</d2p1:AgencyId>
        <d2p1:Designator>sample string 2</d2p1:Designator>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:StoppointId>4</d2p1:StoppointId>
      </d2p1:StopPoint>
      <d2p1:Trip>
        <d2p1:AgencyDesignator>sample string 1</d2p1:AgencyDesignator>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 3</d2p1:Designator>
        <d2p1:TripId>sample string 4</d2p1:TripId>
      </d2p1:Trip>
    </d2p1:SchedAdherenceCountdown>
    <d2p1:SchedAdherenceCountdown>
      <d2p1:Comment>sample string 1</d2p1:Comment>
      <d2p1:Destination>sample string 2</d2p1:Destination>
      <d2p1:EstimatedDeparture>2020-07-09T00:05:59.2433899-04:00</d2p1:EstimatedDeparture>
      <d2p1:GateBay>4</d2p1:GateBay>
      <d2p1:NextArrivalCountdown>sample string 5</d2p1:NextArrivalCountdown>
      <d2p1:Route>
        <d2p1:AgencyId>1</d2p1:AgencyId>
        <d2p1:RouteDesignator>sample string 2</d2p1:RouteDesignator>
        <d2p1:RouteId>3</d2p1:RouteId>
        <d2p1:RouteName>sample string 4</d2p1:RouteName>
      </d2p1:Route>
      <d2p1:RouteDirection>sample string 6</d2p1:RouteDirection>
      <d2p1:StopPoint>
        <d2p1:AgencyId>1</d2p1:AgencyId>
        <d2p1:Designator>sample string 2</d2p1:Designator>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:StoppointId>4</d2p1:StoppointId>
      </d2p1:StopPoint>
      <d2p1:Trip>
        <d2p1:AgencyDesignator>sample string 1</d2p1:AgencyDesignator>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 3</d2p1:Designator>
        <d2p1:TripId>sample string 4</d2p1:TripId>
      </d2p1:Trip>
    </d2p1:SchedAdherenceCountdown>
  </ArrivalEstimates>
  <StopPointsArray xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISR.TCIP.Modele.Element">
    <d2p1:StopPointIden>
      <d2p1:AgencyId>1</d2p1:AgencyId>
      <d2p1:Designator>sample string 2</d2p1:Designator>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StoppointId>4</d2p1:StoppointId>
    </d2p1:StopPointIden>
    <d2p1:StopPointIden>
      <d2p1:AgencyId>1</d2p1:AgencyId>
      <d2p1:Designator>sample string 2</d2p1:Designator>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StoppointId>4</d2p1:StoppointId>
    </d2p1:StopPointIden>
    <d2p1:StopPointIden>
      <d2p1:AgencyId>1</d2p1:AgencyId>
      <d2p1:Designator>sample string 2</d2p1:Designator>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StoppointId>4</d2p1:StoppointId>
    </d2p1:StopPointIden>
  </StopPointsArray>
  <SubscriptionInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISR.TCIP.Modele.Element">
    <d2p1:ExpirationDate>1</d2p1:ExpirationDate>
    <d2p1:ExpirationTime>2</d2p1:ExpirationTime>
    <d2p1:PublisherIdentifier>3</d2p1:PublisherIdentifier>
    <d2p1:RequestIdentifier>4</d2p1:RequestIdentifier>
    <d2p1:RequestedType>sample string 5</d2p1:RequestedType>
    <d2p1:SubscriberIdentifier>6</d2p1:SubscriberIdentifier>
  </SubscriptionInfo>
</PiStopPointETA>