latestSwagger 2.02026-08-08454367651.1 KB

bd42075f6b02

ResourceOwnerTrip3V2

Get all trips that the user has access to

Only returns trips that the user have access to

get/v1/resourceowner/trips3

Query parameters

lastNumberOfDaysinteger

Optional enter last number of days to get trips for

vehicleIdinteger

Optional vehicle id to get trips for

synchronizedboolean

Optional include synchronized trips (defaults to true)

fromUtcstring date-time

Retrieve trips from this date. (Can't be used if lastNumberOfDays is specified)

toUtcstring date-time

Retrieve trips to this date. (Can't be used if lastNumberOfDays is specified)

Response

Success

TripIdinteger
TripStartDateTimestring date-time
TripEndDateTimestring date-time
DistanceKilometersnumber double
FuelConsumptionInLitersnumber double
TripStartFormattedAddressstring
TripEndFormattedAddressstring
TripStartCustomAddressstring
TripEndCustomAddressstring
VehicleIdinteger
TripType0 | 1 | 2 | 3
DriverContactIdinteger
HasSpeedingViolationboolean
HasIdlingEventboolean
HasAccelerationEventboolean
HasAccidentboolean
HasTurningEventboolean
HasBrakingEventboolean
ParkedForMinutesUntilNextTripinteger
HasDrivingEventsboolean
CustomCategorystring
TripTagsstring
HideStartRouteboolean
HideEndRouteboolean
VehicleType0 | 1 | 2 | 3 | 4 | 5 | 6 | 255
TripApprovalStatus0 | 1 | 2 | 3
IsMergedboolean
HasGermanTaxRulesboolean
IsLockedboolean
LockReason0 | 1 | 2 | 4
IsEditableboolean
TripStartCountrystring
TripStartPostalCodestring
TripEndCountrystring
TripEndPostalCodestring