Oficina Reports

Get Kpi

Live KPI snapshot: vehicles in parque / transporte / preparação / prontos / bloqueados. Ignores the date range (always current state).

Shares get_logistics_kpi() with /logistica/kpi — single source of truth for the five bucket definitions. Estado=5 (Suspenso) is always excluded regardless of the estado_id filter.

get/api/oficina/reports/kpi

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/oficina/reports/kpi
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Query parameters

pv_idinteger[]
estado_idinteger[]

Sales-state filter: 2=Em Stock, 3=Reservado, 4=Vendido. Empty = all non-Suspenso.

park_location_idinteger[]

Filter by one or more Z_ParkLocations.id (Viatura.current_park_location_id).

Headers

x-api-tokenstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.