pending_actions Transportation and Logistics documentation is being deprecated. The updated documentation is available on the
Mobility Services site.
Send feedback
Method: providers.trips.create
Stay organized with collections
Save and categorize content based on your preferences.
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
string
Required. Must be in the format providers/{provider}
. The provider must be the Project ID (for example, sample-cloud-project
) of the Google Cloud Project of which the service account making this call is a member.
Query parameters
Parameters
header
object (RequestHeader
)
The standard Fleet Engine request header.
tripId
string
Required. Unique Trip ID. Subject to the following restrictions:
Must be a valid Unicode string.
Limited to a maximum length of 64 characters.
Normalized according to Unicode Normalization Form C .
May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'.
Request body
The request body contains an instance of Trip
.
Response body
If successful, the response body contains a newly created instance of Trip
.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"last_modified": "Last updated 2024-04-26 UTC.",
"state": ""
}