---
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}`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/tripmerge/{tripId}`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

## 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.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
