SmartGare
API referenceEndpoints

List commercial-units

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

GET/referential/v1/commercial-units

Searches the declared register with optional filters.

Required permission: referential.commercial-unit:read

AuthorizationBearer <token>

In: header

Query Parameters

station_id?string
name?string
station_area_id?string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/commercial-units"
[  {    "corrected_at": "2019-08-24T14:15:22Z",    "corrected_by": "string",    "created_at": "2019-08-24T14:15:22Z",    "id": "string",    "name": "string",    "retired_at": "2019-08-24T14:15:22Z",    "retired_by": "string",    "station_area_id": "string",    "station_id": "string",    "status": "ACTIVE",    "surface_m2": 0  }]