---
title: "Get all trips that the user has access to"
method: GET
path: "/v1/resourceowner/trips3"
tags: ["ResourceOwnerTrip3V2"]
---

# Get all trips that the user has access to

`GET /v1/resourceowner/trips3`

Only returns trips that the user have access to

## Query parameters

- `lastNumberOfDays` integer
- `vehicleId` integer
- `synchronized` boolean
- `fromUtc` string, date-time
- `toUtc` string, date-time

## Response `200`

Success

- Trip2Model[]
  - `TripId` integer
  - `TripStartDateTime` string, date-time
  - `TripEndDateTime` string, date-time
  - `DistanceKilometers` number, double
  - `FuelConsumptionInLiters` number, double
  - `TripStartFormattedAddress` string
  - `TripEndFormattedAddress` string
  - `TripStartCustomAddress` string
  - `TripEndCustomAddress` string
  - `VehicleId` integer
  - `TripType` 0 | 1 | 2 | 3
  - `DriverContactId` integer
  - `HasSpeedingViolation` boolean
  - `HasIdlingEvent` boolean
  - `HasAccelerationEvent` boolean
  - `HasAccident` boolean
  - `HasTurningEvent` boolean
  - `HasBrakingEvent` boolean
  - `ParkedForMinutesUntilNextTrip` integer
  - `HasDrivingEvents` boolean
  - `CustomCategory` string
  - `TripTags` string
  - `HideStartRoute` boolean
  - `HideEndRoute` boolean
  - `VehicleType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 255
  - `TripApprovalStatus` 0 | 1 | 2 | 3
  - `IsMerged` boolean
  - `HasGermanTaxRules` boolean
  - `IsLocked` boolean
  - `LockReason` 0 | 1 | 2 | 4
  - `IsEditable` boolean
  - `TripStartCountry` string
  - `TripStartPostalCode` string
  - `TripEndCountry` string
  - `TripEndPostalCode` string

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
