The communication protocol between properties and GalapagosGDS API consists of HTTPS (HTTP Secure) transactions with embedded JSON documents. Note the following:
Legend: O = Optional
Level | Element / @Attribute | Data Type | Number of occur. | Description |
---|---|---|---|---|
0 | reference_number | number | 1 | Reference number - if booking details is to be updated |
0 | boat_id | number | 1 | Boat to be booked |
0 | tour_id | number | 1 | Tour to be booked |
0 | departure_date | date | 1 | Departure date of the booking |
0 | agency_id | number | 1 | Agency that is responsible for the booking |
0 | type | string | 1 | Type of the booking |
0 | hold_expiration | date | 1 | Hold expiration date |
0 | adults | number | 1 | Number of adults |
0 | children | number | 1 | Number of children |
0 | cabins | array | 1 | An array that hold cabin and its guests |
1 | @cabin_id | array | any | cabin_id to hold the cabin data |
2 | @passport_number | string | any | Passport number of the guest |
2 | @first_name | string | any | First name of the guest |
2 | @middle_name | string | any | Middle name of the guest |
2 | @last_name | string | any | Last name of the guest |
2 | @gender | string | any | Gender of the guest |
2 | @date_of_birth | string | any | Date of birth of the guest |
2 | string | any | Email of the guest | |
2 | @phone | string | any | Phone number of the guest |
2 | @mobile | string | any | Mobile number of the guest |
2 | @is_family_or_group_header | string | any | Is the guest is in a group |
2 | @dietary_requirements | string | any | Dietary requirements |
2 | @other_requirements | string | any | Other requirements |
2 | @complementary_information | string | any | Other information |