---
title: "Get all trips within a merged trip"
method: GET
path: "/v1/resourceowner/tripmerge/{tripId}"
tags: ["ResourceOwnerTripMergeV2"]
---

# Get all trips within a merged trip

`GET /v1/resourceowner/tripmerge/{tripId}`

## Path parameters

- `tripId` integer, required

## Response `200`

List containing all trips within the merged trip

- TripModel[]
  - `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
  - `TripStartCountry` string
  - `TripStartPostalCode` string
  - `TripEndCountry` string
  - `TripEndPostalCode` string

## Other responses

- `403` — Forbidden access to resource
- `500` — Internal server error

---

[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)
