Fleet Engine API for on-demand trips

Services for on-demand trips users.

Service: fleetengine.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://fleetengine.googleapis.com

REST Resource: v1.providers.billableTrips

Methods
report POST /v1/{name=providers/*/billableTrips/*}:report
Report billable trip usage.

REST Resource: v1.providers.trips

Methods
create POST /v1/{parent=providers/*}/trips
Creates a trip in the Fleet Engine and returns the new trip.
get GET /v1/{name=providers/*/trips/*}
Get information about a single trip.
search POST /v1/{parent=providers/*}/trips:search
Get all the trips for a specific vehicle.
update PUT /v1/{name=providers/*/trips/*}
Updates trip data.

REST Resource: v1.providers.vehicles

Methods
create POST /v1/{parent=providers/*}/vehicles
Instantiates a new vehicle associated with an on-demand rideshare or deliveries provider.
get GET /v1/{name=providers/*/vehicles/*}
Returns a vehicle from the Fleet Engine.
list GET /v1/{parent=providers/*}/vehicles
Returns a paginated list of vehicles associated with a provider that match the request options.
search POST /v1/{parent=providers/*}/vehicles:search
Returns a list of vehicles that match the request options.
update PUT /v1/{name=providers/*/vehicles/*}
Writes updated vehicle data to the Fleet Engine.
updateAttributes POST /v1/{name=providers/*/vehicles/*}:updateAttributes
Partially updates a vehicle's attributes.