-
Notifications
You must be signed in to change notification settings - Fork 3
Questions parameter validation
Luis Rosales Carrera edited this page Dec 1, 2023
·
10 revisions
In the questions parameter, the partner must provide the questions the user needs to answer during the booking process. The questions are divided into two categories: Participant Questions and Booking Questions.
Each participant (e.g., an adult) must provide answers to the following questions during the booking process.
Question | Validation Expected |
---|---|
traveler_dietary_restrictions | value: String max length: 500 |
traveler_diving_levels | value: String max length: 500 |
traveler_driver_licenses | value: String max length: 500 |
traveler_skill_levels | value: String max length: 500 |
traveler_id_details | value: String max length: 500 |
traveler_passport_details | value: String max length: 500 |
traveler_id_numbers | value: String max length: 45 |
traveler_passport_numbers | value: String max length: 18 |
traveler_ages | value: String max length: 3 |
traveler_children_ages | value: String max length: 3 |
traveler_names | first_name: String max length: 45 with Latin characters (letters), last_name: String max length: 45 with Latin characters (letters) |
traveler_dates_of_birth | value: String Format: “Y-m-d” |
traveler_weights | amount: String max length: 5, unit: Enum values: "kg", "lb" |
traveler_shoe_sizes | amount: String max length: 5, unit: Enum values: "cm", "uk", "us", "eu" |
traveler_heights | amount: String max length: 5, unit: Enum values: "cm", "m", "ft" |
This question must be answered once per booking.
Question | Validation Expected |
---|---|
booking_child_safety_seat | value: String max length: 500 |
booking_cruise_details | value: String max length: 500 |
booking_drop_off_address | value: String max length: 500 |
booking_medical_conditions | value: String max length: 500 |
booking_mobility_issues | value: String max length: 500 |
booking_shipping_address | value: String max length: 500 |
booking_wheelchair | value: String max length: 500 |
booking_customer_accommodation | value: String max length: 500 |
booking_flight_details | flight_number: String max length: 10, time_of_arrival: String max length: 10 |
Copyright 2025 GetYourGuide GmbH.