Gets all Task
s with a particular trackingId
.
HTTP request
GET https://fleetengine.googleapis.com/v1/{parent=providers/*}/tasks:search
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. |
trackingId |
Required. The identifier of the set of related Tasks being requested. Tracking IDs are subject to the following restrictions:
|
pageSize |
Optional. The maximum number of Tasks to return. The service may return fewer than this value. If you don't specify this value, then the server determines the number of results to return. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
The tasks.search
response. It contains the set of Tasks that meet the search criteria in the SearchTasksRequest
.
JSON representation |
---|
{
"tasks": [
{
object ( |
Fields | |
---|---|
tasks[] |
The set of Tasks for the requested |
nextPageToken |
Pass this token in the |