---
title: "Unmerge trips"
method: PUT
path: "/v1/resourceowner/tripmerge/{tripId}/unmerge"
tags: ["ResourceOwnerTripMergeV2"]
---

# Unmerge trips

`PUT /v1/resourceowner/tripmerge/{tripId}/unmerge`

## Path parameters

- `tripId` integer, required

## Response `200`

Success

- 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

- `201` — Trips successfully unmerged
- `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)
