AI-generated Key Takeaways
-
Creates and returns a new
Taskobject via aPOSTrequest to the specified URL. -
Requires a
providerpath parameter which should be set to your Google Cloud Project ID. -
Requires a unique
taskIdquery parameter and optionally accepts aheaderfor the Delivery API request. -
The request body and successful response body both contain an instance of
Taskobject, detailed further in provided documentation links.
Creates and returns a new Task object.
HTTP request
POST https://fleetengine.googleapis.com/v1/{parent=providers/*}/tasks
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Must be in the format |
Query parameters
| Parameters | |
|---|---|
header |
Optional. The standard Delivery API request header. |
taskId |
Required. The Task ID must be unique, but it should be not a shipment tracking ID. To store a shipment tracking ID, use the
|
Request body
The request body contains an instance of Task.
Response body
If successful, the response body contains a newly created instance of Task.