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 | boat | number | 1 | Boat code for the api |
0 | cabin_type | number | 1 | Cabin code for the api |
0 | departures | array | 1 | Tour to be updated |
1 | @departure_date | date | any | Dates on which promotion is applicable |
1 | @arrival_date | date | any | Dates on which promotion is applicable |
1 | @days | number | any | Days from departure_date to which promotion is applicable |
1 | @available | number | any | Tour's availability |
1 | @hold | number | any | Tour's sold |
1 | @promotion_name | string | any | Name of the promotion |
1 | @promotion_description | string | any | Description of the promotion |
1 | @adult_price | number | any | Adult price to be updated |
1 | @children_price | number | any | Children price to be updated |
1 | @discount_type | string | any | Discount type for the promotion that can be %, $, - |
1 | @promotion_type | string | any | Type of the promotion |
1 | @promotion_policies | string | any | Policies of the promotion |