Page Summary
-
Lists shipments associated with a specific network.
-
Allows pagination to retrieve large sets of shipments.
-
Includes a
nextPageTokenfor retrieving subsequent pages of results. -
Returns an array of
Shipmentobjects with details of each shipment. -
Requires a
parentparameter to specify the network.
Lists the Shipments.
HTTP request
GET https://middlemileoptimization.googleapis.com/v1/{parent=networks/*}/shipments
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns this collection of shipments. Format: "networks/{network}" |
Query parameters
| Parameters | |
|---|---|
page |
Optional. The maximum number of shipments to return. The service may return fewer than this value. If unspecified, at most 50 shipments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page |
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
The response message for shipments.list method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"shipments": [
{
object ( |
| Fields | |
|---|---|
shipments[] |
The shipments from the specified network. |
next |
A token, which can be sent as |