Skip to Content
Terrains

List available terrains

Accès

Membre de l’organisation avec cette autorisation :

  • terrains:read

Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.

GET
/orgs/{organizationId}/terrains/available

Lists terrains without occupation and without an active reservation that overlaps the stay. The stay is checkIn to checkOut (open-ended without checkOut); without checkIn it is tonight, today to tomorrow. Set includeOccupied=true to also return occupied terrains, includeReserved=true to ignore reservations, and bookable=true to limit to bookable terrains only.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Query Parameters

checkIn?string
Formatdate-time
checkOut?|null
excludeReservationId?string
includeOccupied?boolean|string|number|null
includeReserved?boolean|string|number|null
bookable?boolean|string|number|null

Response Body

OK

application/json
  1. response
Example Request
curl -X GET 'https://api.tillor.eu/orgs//terrains/available'
Example Response
null