Travelport / travelport-uapi-tutorial-c-sharp

The travelport-uapi-tutorial-c-sharp is a C# project for Universal API that will help you connect and code a standard Air availablity call and Hotel search, details, and booking flow.
35 stars 30 forks source link

000002 INVALID INPUT #10

Open vinodk28489 opened 8 years ago

vinodk28489 commented 8 years ago

Please find my request and response for AirPrice. Getting 000002 INVALID INPUT as response.

vivekjyotipramanik commented 8 years ago

Hi vinodk28489,

Thank you for your interest in Travelport Universal API. Could you please provide me the request you are using. Looks like there is some value in the request which is not getting processed. It would be helpful to have the request to analyze. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vinodk28489 commented 8 years ago

Dear Vivekjyoti ,

Thanks for the quick response.

Please find attached logs.

Regards, Vinod

On Mon, Dec 21, 2015 at 11:09 PM, vivekjyotipramanik < notifications@github.com> wrote:

Hi vinodk28489,

Thank you for your interest in Travelport Universal API. Could you please provide me the request you are using. Looks like there is some value in the request which is not getting processed. It would be helpful to have the request to analyze. Thanks.

Thanks & Regards Vivekjyoti Pramanik

— Reply to this email directly or view it on GitHub https://github.com/Travelport/travelport-uapi-tutorial-c-sharp/issues/10#issuecomment-166369567 .

vivekjyotipramanik commented 8 years ago

Hi Vinod,

I have not received any attachments. Could you please attach it in Github. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vinodk28489 commented 8 years ago

PFA.

Regards, Vinodk

AirPriceRequest.txt AirPriceResponseError.txt LowFareSearchRequest.txt LowFareSearchResponse.txt

vivekjyotipramanik commented 8 years ago

Hi Vinod,

I have tried with the attached request and it worked fine for me. Please try with the below request and let me know how it goes. Thanks.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <AirPriceReq TraceId="TP28489" AuthorizedBy="Travelport" TargetBranch="TargetBranch" xmlns="http://www.travelport.com/schema/air_v34_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v34_0"/>
         <AirItinerary>
            <AirSegment Key="ZEEjtZxrQ5W4Fe9eUQIVzA==" Group="0" Carrier="EK" FlightNumber="508" Origin="DXB" Destination="BOM" DepartureTime="2016-01-22T16:00:00.000+04:00" ArrivalTime="2016-01-22T20:35:00.000+05:30" FlightTime="185" Distance="1201" ETicketability="Yes" Equipment="772" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G" ClassOfService="X"/>
            <AirSegment Key="wXjoUmsoQXuCI3KImDv7Tw==" Group="1" Carrier="EK" FlightNumber="505" Origin="BOM" Destination="DXB" DepartureTime="2016-01-23T10:25:00.000+05:30" ArrivalTime="2016-01-23T12:10:00.000+04:00" FlightTime="195" Distance="1201" ETicketability="Yes" Equipment="772" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="S" AvailabilityDisplayType="Fare Shop/Optimal Shop" ProviderCode="1G" ClassOfService="B"/>
         </AirItinerary>
         <AirPricingModifiers>
            <BrandModifiers ModifierType="FareFamilyDisplay"/>
         </AirPricingModifiers>
         <SearchPassenger Code="ADT" Age="40" BookingTravelerRef="9f73bef8-cf66-446d-b36b-1df3247f7eaf" Key="9f73bef8-cf66-446d-b36b-1df3247f7eaf" xmlns="http://www.travelport.com/schema/common_v34_0"/>
         <AirPricingCommand>
            <AirSegmentPricingModifiers AirSegmentRef="ZEEjtZxrQ5W4Fe9eUQIVzA==" FareBasisCode="XLWMPAE1">
               <PermittedBookingCodes>
                  <BookingCode Code="X"/>
               </PermittedBookingCodes>
            </AirSegmentPricingModifiers>
            <AirSegmentPricingModifiers AirSegmentRef="wXjoUmsoQXuCI3KImDv7Tw==" FareBasisCode="BLWESAE1">
               <PermittedBookingCodes>
                  <BookingCode Code="B"/>
               </PermittedBookingCodes>
            </AirSegmentPricingModifiers>
         </AirPricingCommand>
         <FormOfPayment Type="Credit" xmlns="http://www.travelport.com/schema/common_v34_0"/>
      </AirPriceReq>
   </soap:Body>
</soap:Envelope>

LFS_Req.txt LFS_Rsp.txt AirPrice_Req.txt AirPrice_Rsp.txt

Thanks & Regards Vivekjyoti Pramanik

sandeepsindwani commented 6 years ago

Hi Sir, I am getting issue when i am sending AirPrice request. i am getting issue "AppErrorSeverityLevel/1 : INVALID INPUT". Kindly verify and let me know what i wrong passing here? AirPrice_Request.txt

Thanks/Sandeep

vivekjyotipramanik commented 6 years ago

Hi sandeepsindwani,

Please provide your TaregtBranch and the usernme you are using. Thanks.