Occupations
List Occupations
GET
Lists occupations with pagination, filtering, sorting, and includes. Supports filtering by customer, terrain, reservation, and paidUntil date range.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
page?integerRange
-9007199254740991 <= value <= 9007199254740991limit?integerRange
-9007199254740991 <= value <= 9007199254740991sortBy?stringValue in
"id""occupationType""rentPeriod""price""description""paidUntil""invoicedUntil""createdAt""updatedAt""customerId""reservationId""terrainId"sortDir?stringValue in
"asc""desc"include?|array<>|stringreservationId?string|array<string>|nulloccupationType?|array<>|price?number||paidUntil?|nullinvoicedUntil?|nullcreatedAt?|nullupdatedAt?|nulldescription?string|array<string>|customerId?string|array<string>|terrainId?string|array<string>|rentPeriod?hasEventLogs?boolean|string|number|nullhasNoEventLogs?boolean|string|number|nullhasAuditLogs?boolean|string|number|nullhasNoAuditLogs?boolean|string|number|nulleventLogId?string|array<string>|auditLogId?string|array<string>|hasReservation?boolean|string|number|nullhasNoReservation?boolean|string|number|nullsearch?stringOK
application/json- response
curl -X GET 'https://api.tillor.eu/orgs/string/occupations'null