AI-generated Key Takeaways
-
This endpoint enables the creation of a new trip within the Fleet Engine system, returning the trip details upon successful creation.
-
The request must be a POST request to the specified URL, including necessary path and query parameters such as provider ID and a unique trip ID.
-
The request body should contain a Trip object with relevant trip details as outlined in the provided documentation.
-
A successful response will return the newly created Trip object, providing confirmation and details of the initiated trip.
Creates a trip in the Fleet Engine and returns the new trip.
HTTP request
POST https://fleetengine.googleapis.com/v1/{parent=providers/*}/trips
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Must be in the format |
Query parameters
Parameters | |
---|---|
header |
The standard Fleet Engine request header. |
tripId |
Required. Unique Trip ID. Subject to the following restrictions:
|
Request body
The request body contains an instance of Trip
.
Response body
If successful, the response body contains a newly created instance of Trip
.