Vehicles (Protected)
Get Vehicle Movements
Get vehicle movements summary.
Returns:
- Unpaid movements (to pay)
- Paid movements (before close)
- Movements after close
- Totals and counts for each
Optional date_start/date_end filter the period on COALESCE(DataPagamento, DataRegisto) so unpaid rows stay visible.
get/api/vehicles/{vehicle_id}/movements
Path parameters
vehicle_idinteger required
Query parameters
date_startstring nullable
Period filter start (YYYY-MM-DD)
Period filter start (YYYY-MM-DD)
date_endstring nullable
Period filter end, inclusive (YYYY-MM-DD)
Period filter end, inclusive (YYYY-MM-DD)
Headers
x-api-tokenstring nullable
Response
Successful Response
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.