POST TransitApi/ETA2

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

None.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "SubscriptionInfo": {
    "RequestedType": "sample string 1",
    "ExpirationDate": 2,
    "ExpirationTime": 3,
    "RequestIdentifier": 4,
    "SubscriberIdentifier": 5,
    "PublisherIdentifier": 6
  },
  "StopPointsArray": [
    {
      "StoppointId": 1,
      "AgencyId": 2,
      "Name": "sample string 3",
      "Designator": "sample string 4"
    },
    {
      "StoppointId": 1,
      "AgencyId": 2,
      "Name": "sample string 3",
      "Designator": "sample string 4"
    },
    {
      "StoppointId": 1,
      "AgencyId": 2,
      "Name": "sample string 3",
      "Designator": "sample string 4"
    }
  ],
  "ArrivalEstimates": [
    {
      "StopPoint": {
        "StoppointId": 1,
        "AgencyId": 2,
        "Name": "sample string 3",
        "Designator": "sample string 4"
      },
      "Route": {
        "RouteId": 1,
        "AgencyId": 2,
        "RouteDesignator": "sample string 3",
        "RouteName": "sample string 4"
      },
      "RouteDirection": "sample string 1",
      "Destination": "sample string 2",
      "GateBay": 3,
      "Trip": {
        "TripId": "sample string 1",
        "AgencyId": 2,
        "Designator": "sample string 3",
        "AgencyDesignator": "sample string 4"
      },
      "NextArrivalCountdown": "sample string 4",
      "EstimatedDeparture": "2020-07-09T00:57:15.9757244-04:00",
      "Comment": "sample string 6"
    },
    {
      "StopPoint": {
        "StoppointId": 1,
        "AgencyId": 2,
        "Name": "sample string 3",
        "Designator": "sample string 4"
      },
      "Route": {
        "RouteId": 1,
        "AgencyId": 2,
        "RouteDesignator": "sample string 3",
        "RouteName": "sample string 4"
      },
      "RouteDirection": "sample string 1",
      "Destination": "sample string 2",
      "GateBay": 3,
      "Trip": {
        "TripId": "sample string 1",
        "AgencyId": 2,
        "Designator": "sample string 3",
        "AgencyDesignator": "sample string 4"
      },
      "NextArrivalCountdown": "sample string 4",
      "EstimatedDeparture": "2020-07-09T00:57:15.9757244-04:00",
      "Comment": "sample string 6"
    },
    {
      "StopPoint": {
        "StoppointId": 1,
        "AgencyId": 2,
        "Name": "sample string 3",
        "Designator": "sample string 4"
      },
      "Route": {
        "RouteId": 1,
        "AgencyId": 2,
        "RouteDesignator": "sample string 3",
        "RouteName": "sample string 4"
      },
      "RouteDirection": "sample string 1",
      "Destination": "sample string 2",
      "GateBay": 3,
      "Trip": {
        "TripId": "sample string 1",
        "AgencyId": 2,
        "Designator": "sample string 3",
        "AgencyDesignator": "sample string 4"
      },
      "NextArrivalCountdown": "sample string 4",
      "EstimatedDeparture": "2020-07-09T00:57:15.9757244-04:00",
      "Comment": "sample string 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 6</d2p1:Comment>
      <d2p1:Destination>sample string 2</d2p1:Destination>
      <d2p1:EstimatedDeparture>2020-07-09T00:57:15.9757244-04:00</d2p1:EstimatedDeparture>
      <d2p1:GateBay>3</d2p1:GateBay>
      <d2p1:NextArrivalCountdown>sample string 4</d2p1:NextArrivalCountdown>
      <d2p1:Route>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:RouteDesignator>sample string 3</d2p1:RouteDesignator>
        <d2p1:RouteId>1</d2p1:RouteId>
        <d2p1:RouteName>sample string 4</d2p1:RouteName>
      </d2p1:Route>
      <d2p1:RouteDirection>sample string 1</d2p1:RouteDirection>
      <d2p1:StopPoint>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 4</d2p1:Designator>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:StoppointId>1</d2p1:StoppointId>
      </d2p1:StopPoint>
      <d2p1:Trip>
        <d2p1:AgencyDesignator>sample string 4</d2p1:AgencyDesignator>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 3</d2p1:Designator>
        <d2p1:TripId>sample string 1</d2p1:TripId>
      </d2p1:Trip>
    </d2p1:SchedAdherenceCountdown>
    <d2p1:SchedAdherenceCountdown>
      <d2p1:Comment>sample string 6</d2p1:Comment>
      <d2p1:Destination>sample string 2</d2p1:Destination>
      <d2p1:EstimatedDeparture>2020-07-09T00:57:15.9757244-04:00</d2p1:EstimatedDeparture>
      <d2p1:GateBay>3</d2p1:GateBay>
      <d2p1:NextArrivalCountdown>sample string 4</d2p1:NextArrivalCountdown>
      <d2p1:Route>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:RouteDesignator>sample string 3</d2p1:RouteDesignator>
        <d2p1:RouteId>1</d2p1:RouteId>
        <d2p1:RouteName>sample string 4</d2p1:RouteName>
      </d2p1:Route>
      <d2p1:RouteDirection>sample string 1</d2p1:RouteDirection>
      <d2p1:StopPoint>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 4</d2p1:Designator>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:StoppointId>1</d2p1:StoppointId>
      </d2p1:StopPoint>
      <d2p1:Trip>
        <d2p1:AgencyDesignator>sample string 4</d2p1:AgencyDesignator>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 3</d2p1:Designator>
        <d2p1:TripId>sample string 1</d2p1:TripId>
      </d2p1:Trip>
    </d2p1:SchedAdherenceCountdown>
    <d2p1:SchedAdherenceCountdown>
      <d2p1:Comment>sample string 6</d2p1:Comment>
      <d2p1:Destination>sample string 2</d2p1:Destination>
      <d2p1:EstimatedDeparture>2020-07-09T00:57:15.9757244-04:00</d2p1:EstimatedDeparture>
      <d2p1:GateBay>3</d2p1:GateBay>
      <d2p1:NextArrivalCountdown>sample string 4</d2p1:NextArrivalCountdown>
      <d2p1:Route>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:RouteDesignator>sample string 3</d2p1:RouteDesignator>
        <d2p1:RouteId>1</d2p1:RouteId>
        <d2p1:RouteName>sample string 4</d2p1:RouteName>
      </d2p1:Route>
      <d2p1:RouteDirection>sample string 1</d2p1:RouteDirection>
      <d2p1:StopPoint>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 4</d2p1:Designator>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:StoppointId>1</d2p1:StoppointId>
      </d2p1:StopPoint>
      <d2p1:Trip>
        <d2p1:AgencyDesignator>sample string 4</d2p1:AgencyDesignator>
        <d2p1:AgencyId>2</d2p1:AgencyId>
        <d2p1:Designator>sample string 3</d2p1:Designator>
        <d2p1:TripId>sample string 1</d2p1:TripId>
      </d2p1:Trip>
    </d2p1:SchedAdherenceCountdown>
  </ArrivalEstimates>
  <StopPointsArray xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISR.TCIP.Modele.Element">
    <d2p1:StopPointIden>
      <d2p1:AgencyId>2</d2p1:AgencyId>
      <d2p1:Designator>sample string 4</d2p1:Designator>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StoppointId>1</d2p1:StoppointId>
    </d2p1:StopPointIden>
    <d2p1:StopPointIden>
      <d2p1:AgencyId>2</d2p1:AgencyId>
      <d2p1:Designator>sample string 4</d2p1:Designator>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StoppointId>1</d2p1:StoppointId>
    </d2p1:StopPointIden>
    <d2p1:StopPointIden>
      <d2p1:AgencyId>2</d2p1:AgencyId>
      <d2p1:Designator>sample string 4</d2p1:Designator>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StoppointId>1</d2p1:StoppointId>
    </d2p1:StopPointIden>
  </StopPointsArray>
  <SubscriptionInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISR.TCIP.Modele.Element">
    <d2p1:ExpirationDate>2</d2p1:ExpirationDate>
    <d2p1:ExpirationTime>3</d2p1:ExpirationTime>
    <d2p1:PublisherIdentifier>6</d2p1:PublisherIdentifier>
    <d2p1:RequestIdentifier>4</d2p1:RequestIdentifier>
    <d2p1:RequestedType>sample string 1</d2p1:RequestedType>
    <d2p1:SubscriberIdentifier>5</d2p1:SubscriberIdentifier>
  </SubscriptionInfo>
</PiStopPointETA>