Occupations
Create Occupation
POST
Creates a new occupation (optional description, paid until and invoiced until).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
customerId*stringterrainId*stringoccupationType?stringValue in
"OWN_ACCOMMODATION""RENTAL_CARAVAN"rentPeriod?price?number|nulldescription?string|nullpaidUntil?stringFormat
date-timeinvoicedUntil?stringFormat
date-timestartReadings?array<>OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs/string/occupations' \ -H 'Content-Type: application/json' \ -d '{ "customerId": "string", "terrainId": "string"}'null