Booking
Create booking closure
Acces
Membru al organizației cu această permisiune:
organization:settings:write
O cheie API cu scopuri are nevoie și de permisiune printre scopurile sale.
POST
Blocks online bookings for a period, for one accommodation type or the whole park.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
terrainTypeId?|nullname*stringLength
1 <= length <= 100startDate*stringMatch
^\d{4}-\d{2}-\d{2}$endDate*stringMatch
^\d{4}-\d{2}-\d{2}$OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//booking/closures' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "startDate": "string", "endDate": "string"}'Example Response
null