API referenceEndpoints
List occupants
Searches the declared register with optional filters. **Required permission:** `referential.occupant:read`
GET
/referential/v1/occupantsSearches the declared register with optional filters.
Required permission: referential.occupant:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Query Parameters
name?string
legal_identifier?string
Response Body
*/*
curl -X GET "https://example.com/referential/v1/occupants"[ { "address_city": "string", "address_line1": "string", "address_line2": "string", "address_zip": "string", "corrected_at": "2019-08-24T14:15:22Z", "corrected_by": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "id": "string", "kind": "COMPANY", "legal_identifier": "string", "name": "string", "phone_number": "string", "updated_at": "2019-08-24T14:15:22Z", "website": "string" }]Terminate an occupancy agreement
Records a prospective inclusive last occupation day, caps fees and preserves the signed end date. **Required permission:** `referential.occupancy-agreement:write`
Register an occupant
Registers a company or person; a legal identifier can be claimed only once. **Required permission:** `referential.occupant:write`