Travelport / travelport-uapi-tutorial-php

The travelport-uapi-tutorial-php is a PHP project for Universal API that will help you connect and code a standard workflow including Air, Vehicle, and Hotel.
35 stars 47 forks source link

000279 VERIFY DATE SEQUENCE IN ITINERARY #219

Open meneva opened 5 years ago

meneva commented 5 years ago

Hello, I am getting the date sequence error while sending air price request to uapi. My request and response are as follows:

Request.xml <?xml version="1.0"?>

GOJET AIRLINES DBA UNITED EXPRESS SKYWEST DBA UNITED EXPRESS GOJET AIRLINES DBA UNITED EXPRESS SKYWEST DBA UNITED EXPRESS **and the response is:** Server.Business 000279 VERIFY DATE SEQUENCE IN ITINERARY 3322 AIRSVC Business Date sequence is not valid for the itinerary. A5E77ED80A076477455EA659F82193A1 trace Any help will be very much appreciated.
vivekjyotipramanik commented 5 years ago

Hi meneva,

You are trying to price an itinerary which is using same date and time travel to Denver and Atlanta and vice versa multiple times. Please use a valid itinerary. When I am seeing the itinerary, it is showing the below which is not possible to travel. Please use a valid itinerary. Thanks.

<air:AirSegment Key="LJPawx7Q2BKAUYPKFAAAAA==" Group="0" Carrier="UA" FlightNumber="677" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T17:40:00.000-06:00" ArrivalTime="2019-11-01T22:33:00.000-04:00" FlightTime="173" Distance="1207" ETicketability="Yes" Equipment="320" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKAVYPKFAAAAA==" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T17:40:00.000-06:00" ArrivalTime="2019-11-01T22:33:00.000-04:00" FlightTime="173" TravelTime="173" Equipment="320" OnTimePerformance="50" DestinationTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKAWYPKFAAAAA==" Group="1" Carrier="UA" FlightNumber="533" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T07:00:00.000-05:00" ArrivalTime="2019-11-07T08:29:00.000-07:00" FlightTime="209" Distance="1207" ETicketability="Yes" Equipment="320" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKAXYPKFAAAAA==" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T07:00:00.000-05:00" ArrivalTime="2019-11-07T08:29:00.000-07:00" FlightTime="209" TravelTime="209" Equipment="320" OnTimePerformance="90" OriginTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKAAZPKFAAAAA==" Group="0" Carrier="UA" FlightNumber="307" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T11:00:00.000-06:00" ArrivalTime="2019-11-01T15:49:00.000-04:00" FlightTime="169" Distance="1207" ETicketability="Yes" Equipment="738" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKABZPKFAAAAA==" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T11:00:00.000-06:00" ArrivalTime="2019-11-01T15:49:00.000-04:00" FlightTime="169" TravelTime="169" Equipment="738" OnTimePerformance="60" DestinationTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKAKZPKFAAAAA==" Group="0" Carrier="UA" FlightNumber="4535" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T07:50:00.000-06:00" ArrivalTime="2019-11-01T12:48:00.000-04:00" FlightTime="178" Distance="1207" ETicketability="Yes" Equipment="CR7" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:CodeshareInfo>GOJET AIRLINES DBA UNITED EXPRESS</air:CodeshareInfo>
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKALZPKFAAAAA==" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T07:50:00.000-06:00" ArrivalTime="2019-11-01T12:48:00.000-04:00" FlightTime="178" TravelTime="178" Equipment="CR7" DestinationTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKA4YPKFAAAAA==" Group="0" Carrier="UA" FlightNumber="5722" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T13:35:00.000-06:00" ArrivalTime="2019-11-01T18:36:00.000-04:00" FlightTime="181" Distance="1207" ETicketability="Yes" Equipment="E7W" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:CodeshareInfo>SKYWEST DBA UNITED EXPRESS</air:CodeshareInfo>
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKA5YPKFAAAAA==" Origin="DEN" Destination="ATL" DepartureTime="2019-11-01T13:35:00.000-06:00" ArrivalTime="2019-11-01T18:36:00.000-04:00" FlightTime="181" TravelTime="181" Equipment="E7W" DestinationTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKAVZPKFAAAAA==" Group="1" Carrier="UA" FlightNumber="2308" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T16:40:00.000-05:00" ArrivalTime="2019-11-07T18:07:00.000-07:00" FlightTime="207" Distance="1207" ETicketability="Yes" Equipment="738" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKAWZPKFAAAAA==" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T16:40:00.000-05:00" ArrivalTime="2019-11-07T18:07:00.000-07:00" FlightTime="207" TravelTime="207" Equipment="738" OnTimePerformance="40" OriginTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKAfZPKFAAAAA==" Group="1" Carrier="UA" FlightNumber="4490" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T13:25:00.000-05:00" ArrivalTime="2019-11-07T14:56:00.000-07:00" FlightTime="211" Distance="1207" ETicketability="Yes" Equipment="CR7" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:CodeshareInfo>GOJET AIRLINES DBA UNITED EXPRESS</air:CodeshareInfo>
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKAgZPKFAAAAA==" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T13:25:00.000-05:00" ArrivalTime="2019-11-07T14:56:00.000-07:00" FlightTime="211" TravelTime="211" Equipment="CR7" OriginTerminal="N"/>
        </air:AirSegment>
        <air:AirSegment Key="LJPawx7Q2BKAoYPKFAAAAA==" Group="1" Carrier="UA" FlightNumber="5312" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T20:02:00.000-05:00" ArrivalTime="2019-11-07T21:33:00.000-07:00" FlightTime="211" Distance="1207" ETicketability="Yes" Equipment="CR7" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G">
          <air:CodeshareInfo>SKYWEST DBA UNITED EXPRESS</air:CodeshareInfo>
          <air:AirAvailInfo ProviderCode="1G"/>
          <air:FlightDetails Key="LJPawx7Q2BKApYPKFAAAAA==" Origin="ATL" Destination="DEN" DepartureTime="2019-11-07T20:02:00.000-05:00" ArrivalTime="2019-11-07T21:33:00.000-07:00" FlightTime="211" TravelTime="211" Equipment="CR7" OnTimePerformance="30" OriginTerminal="N"/>
        </air:AirSegment>

Valid itinerary sample:

https://support.travelport.com/webhelp/uapi/uapi.htm#SampleWeb/Individual_Sample_Pages/024-1G_AirLowFareShop_MinimumData.htm%3FTocPath%3DAir%7CAir%2520Samples%7CAir%2520Workflows%7CGalileo%2520(1G)%2520Workflows%7C_____2