SmartGare
API referenceEndpoints

List occupancy-agreements

Searches the declared register with optional filters. **Required permission:** `referential.occupancy-agreement:read`

GET/referential/v1/occupancy-agreements

Searches the declared register with optional filters.

Required permission: referential.occupancy-agreement:read

AuthorizationBearer <token>

In: header

Query Parameters

station_id?string
commercial_unit_id?string
occupant_id?string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/occupancy-agreements"
[  {    "commercial_unit_id": "string",    "concluded_at": "2019-08-24T14:15:22Z",    "concluded_by": "string",    "created_at": "2019-08-24T14:15:22Z",    "id": "string",    "occupant_id": "string",    "reference": "string",    "station_id": "string",    "terminated_at": "2019-08-24T14:15:22Z",    "terminated_by": "string",    "terminated_on": "2019-08-24",    "updated_at": "2019-08-24T14:15:22Z",    "valid_from": "2019-08-24",    "valid_until": "2019-08-24"  }]