Skip to content
ajar.Get started

Place predict

booking.place.predict

View connector

Predict Booking.com destinations from a partial place name

POST /v1/operations/booking.place.predict

Headers

Authorization: Bearer YOUR_CONNECTOR_TOKEN
x-connection-ref: YOUR_CONNECTION_REF
Content-Type: application/json

Use your connector bearer token and guest connection_ref in x-connection-ref.

Inputs

ParameterExample typeExample value
querystring"Lon"

Example input

{
  "query": "Lon"
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/booking/place-predict.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "query": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "Booking.com place-predict input",
  "type": "object"
}