GalapagosGDS api provides an electronic interface for partners to create and update bookings with the requested data.
This section explains authentication and how to send a request to the GalapagosGDS API CB interface for a live test.
To perform authentication, GalapagosGDS provides a unique url for every partner to connect to the API.
The API must be provided the following headers to be authenticated by the GalapagosGDS.
[
"Authorization: Basic base64(email:pass)",
"Token: {token}"
]
Request URL:
https://supplier.voyageport.com/booking/create
{token} must be in clear text in the URL to connect to GalapagosGDS API.
The Create booking request (CB RQ) allows GalapagosGDS partners to send GalapagosGDS request on Create booking. Below is a pair of sample request/response messages for Create booking update. For partners wanting to experiment with the API, the following requests can be posted directly to the GalapagosGDS interface at the authentication url provided. Make sure to include content type = text/json in your http header.
RQ
{
"reference_number": "4d773d3d",
"boat_id": "12",
"tour_id": "134",
"departure_date": "2019-08-31",
"agency_id": "36",
"type": "H",
"hold_expiration": "2019-07-30",
"adults": "1",
"children": "1",
"cabins": {
"4": [
{
"passport_number": "12345678901",
"first_name": "A1",
"middle_name": "",
"last_name": "Z",
"gender": "M",
"date_of_birth": "1994-01-20",
"email": "[email protected]",
"phone": "",
"mobile": "1234567890",
"is_family_or_group_header": "Y",
"dietary_requirements": "veg",
"other_requirements": "",
"complementary_information": ""
},
{
"passport_number": "6789012345",
"first_name": "a1",
"middle_name": "",
"last_name": "Z",
"gender": "M",
"date_of_birth": "1994-01-20",
"email": "",
"phone": "",
"mobile": "1234567890",
"is_family_or_group_header": "Y",
"dietary_requirements": "veg",
"other_requirements": "",
"complementary_information": ""
}
]
}
}
RS
{
"success": "Booked|Cancelled|Hold successfully",
"reference_number": "4d773d3d"
}
When GalapagosGDS partners are ready to start sending CB request messages to GalapagosGDS API to create their booking they should contact their Connectivity Account Manager or reach us to obtain the right to use GalapagosGDS API. GalapagosGDS will then provide the necessary information for connecting to our live environment.