latestSwagger 2.02026-08-08454367651.1 KB

bd42075f6b02

ResourceOwnerTripApprovalV2

List all trips which you as a user may submit for approval

Only returns tracked assets that the user have access to

get/v1/resourceowner/tripapproval/unsubmitted/{vehicleId}

Path parameters

vehicleIdinteger required

Show only trips for this vehicleId

Query parameters

fromstring date-time

Show only trips from this date (default = 30 days back)

tostring date-time

Show only trips to this date, including the date (default = today)

tripType0 | 1 | 2 | 3

Show only trips with this category. 0 = Business, 2 = Other. (default = any type)

Response

The list of trips is returned

TripIdinteger
Category0 | 1 | 2 | 3
TripStartDateTimestring date-time
TripEndDateTimestring date-time
TripStartAddressstring
TripEndAddressstring
VehicleNamestring
DistanceInKilometernumber double
Notestring