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}

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/tripapproval/unsubmitted/{vehicleId}
  • Auth
    OAuth 2
    Implicit: https://api.automile.com/login/

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

Changes

No recorded changes to this operation across all 2 revisions of this API.