-
Notifications
You must be signed in to change notification settings - Fork 3
Questions parameter validation
selinbarash edited this page Feb 10, 2025
·
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 | Description |
---|---|---|
traveler_dietary_restrictions | value: String max length: 500 | |
traveler_diving_level | value: String max length: 500 | |
traveler_driver_license | value: String max length: 500 | |
traveler_skill_level | value: String max length: 500 | |
traveler_id_details | value: String max length: 500 | |
traveler_passport_details | value: String max length: 500 | |
traveler_id_number | value: String max length: 45 | |
traveler_passport_number | value: String max length: 18 | |
traveler_age | value: String max length: 3 | |
traveler_children_age | value: String max length: 3 | |
traveler_name | first_name: String max length: 45 with Latin characters (letters), last_name: String max length: 45 with Latin characters (letters) | |
traveler_date_of_birth | value: String Format: “Y-m-d” | |
traveler_weight | amount: String max length: 5, unit: Enum values: "kg", "lb" | |
traveler_shoe_size | amount: String max length: 5, unit: Enum values: "cm", "uk", "us", "eu" | |
traveler_height | amount: String max length: 5, unit: Enum values: "cm", "m", "ft" |
This question must be answered once per booking.
Question | Validation Expected | Description |
---|---|---|
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 | your group's flight details |
Copyright 2025 GetYourGuide GmbH.