Sample code

API call Type Header Example
Download all samples
Hotel data Request
Content-Type: application/x-www-form-urlencoded
Download sample
Response
Content-Type: application/json
Download sample
Hotel availability Single-Room Request
Content-Type: application/x-www-form-urlencoded
Download sample
Single-Room Response
Content-Type: application/json
Download sample
Single-Room Response
Alternative Accommodations
Content-Type: application/json
Download sample
No Availability Response
Content-Type: application/json
Download sample
Multi-Room Request
Content-Type: application/x-www-form-urlencoded
Download sample
Multi-Room Response
Content-Type: application/json
Download sample

API verification

You can test your API against the API validator found here