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 | category | string | 1 | Categroy of the boat |
0 | type | string | 1 | Type of the boat |
0 | boat | string | 1 | Name of the boat |
The Product product response message is straightforward: it is returned synchronously to update the property’s system with the status of the GP request. The status can either be Success or Error. If successful, it can contain a warning.
Legend: O = Optional
Level | Element / @Attribute | Data Type | Number of occur. | Description |
---|---|---|---|---|
0 | boats | array | 1 | Array of Boats |
1 | @id | number | any | Id of the boat |
1 | @name | string | any | Name of the boat |
1 | @description | string | any | Description of the boat |
1 | @photo | array | any | Array of photos |
2 | @type | number | any | Type of the photo url |
2 | @photo_url | string | any | Url of the photo |
2 | @photo_name | string | any | Name of the photo |
1 | @child_age | number | any | Max age of the person to be considered as child |
1 | @min_age | number | any | Min age of the person to be considered as a passenger |
1 | @category | number | any | Cruise class of the boat |
1 | @available-tours | array | any | Array of available tours for the boat |
2 | @id | number | any | Id of the tour available |
2 | @name | string | any | Name of the tour available |
2 | @days | string | any | Number of days of the tour available |
2 | @departure_date | date | any | Date of the tour to depart |
2 | @description | number | any | Description of the tour available |
2 | @departure_destination | string | any | Destination from which the tour departs |
2 | @arrival_destination | number | any | Destination on which the tour will end |
2 | @available-cabins | array | any | Array of available cabins of the boat |
3 | @id | number | any | Id of the cabin |
3 | @name | string | any | Name of the cabin |
3 | @description | string | any | Description of the cabin |
3 | @children_price | number | any | Price per children of the cabin |
3 | @adult_price | number | any | Price per adult of the cabin |
3 | @single_supplement | number | any | Single supplement of the cabin |
3 | @agency_default_discount | number | any | Agency default discount of the cabin |
3 | @available | number | any | Available number of the cabins |
3 | @hold | number | any | Booked number of the cabins |