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.
34 stars 47 forks source link

Booking with multiple SSR #11

Open yatinmistry opened 8 years ago

yatinmistry commented 8 years ago

Hello,

If I pass multiple passenger with SSR then it gives error. But for single passenger with SSR request working. Please refere attached request and response.

AirCreateReservation_with_SSR_response.txt AirCreateReservation_with_SSR_request.txt

Thanks,

Yatin Mistry

vivekjyotipramanik commented 8 years ago

Hi Yatin,

The SSR is missing FreeText. Please find below details on FreeText. Please find below a link with SSr FreeText used in Booking Request. Please let me know how it goes. Thanks.

Visa documentation is issued to allow travel to certain countries. SSR @FreeText can be used for requests to the ACH provider to submit visa information in Universal v28.0 and greater. Each passenger requires a separate SSR.

For example:

PARIS FR/V/9891404/LONDON/14MAR07/USA

The data MUST be input in this order, with a slash (/) dividing each piece of information:

Birth place (optional): PARIS FR Visa: V Document number: 9891404 Document place of issue: LONDON Document date of issue: 14MAR07 Country for which the visa is applicable: USA If any data is missing, a double slash is input. A slash or double slash never displays at the beginning and/or end of FreeText. FreeText can begin with place of birth or with V.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Air_Booking/Create_Air_Booking/Creating_Air_Bookings.htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAir%2520Booking%7CCreating%2520Air%2520Bookings%7C_____0

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/001-03_1G_AirBook_Rq.xml

Thanks & Regards Vivekjyoti Pramanik

yatinmistry commented 8 years ago

Hello Vivekjyoti,

Thanks for your reply. But we are not asking these data to user (Visa: V, Document number,etc. ). In this case how can i pass data ? Should i pass static data ? In International flight we are prompt user for passport expiry date and passport issuing country. Other than i don't any other information.

Thanks, Yatin Mistry