Locations

This API returns a list of hotels, cities and other types of locations based on the search string.

Query Params
string
required

The search string to look for locations.

Headers
string
required

The access token for authenticating the request.

string
required
Defaults to external-service

Specifies the type of authorization, here it is set to external-service.

string
enum
required
Defaults to website

Specifies the source of the request (End User Source). Available choices: website, android, mweb, ios, mobile.

Allowed:
Responses

400

Bad Request. The searching parameter is invalid or missing.

401

Unauthorized. The access token is missing or invalid.

404

Not Found. The specified searching does not exist.

422

Bad Request. Client Side Error in Request Body.

500

Internal Server Error.

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json