Create Trip Event
Records an event.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Trip identifier
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"
Query Parameters
Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.
Body
Create trip event payload.
Trip event type.
DRIVER_CHANGED, VEHICLE_CHANGED, DEPARTURE_DELAYED, ARRIVAL_DELAYED, BOARDING_STARTED, BOARDING_COMPLETED, INCIDENT "BOARDING_STARTED"
Trip stop identifier.
"0197a810-0e84-773d-acf5-4b2e048d513a"
Event description.
"Boarding started at Sao Paulo."
Event metadata.
{ "stopName": "Sao Paulo" }Response
Created
Eventos operacionais registrados durante uma viagem
Identificador único
Referência à viagem
Referência à parada específica relacionada a TripStop, opcional
Tipo do evento
DRIVER_CHANGED, VEHICLE_CHANGED, DEPARTURE_DELAYED, ARRIVAL_DELAYED, BOARDING_STARTED, BOARDING_COMPLETED, INCIDENT Descrição adicional do evento
Dados adicionais estruturados
Usuário que criou o registro, quando aplicável
Data de criação
Usuário que fez a última atualização, quando aplicável
Data da última atualização