Page Summary
-
Shipments represent the movement of goods between source and destination hubs with specific departure and arrival times.
-
Each shipment includes details like identifier, source and destination hubs, departure and arrival times, potential arrival penalties, size, and revenue.
-
You can manage shipments by deleting, retrieving details, listing them, or routing new ones using the available methods.
-
Shipment arrival times are soft constraints, allowing for potential delays with associated penalties defined by SLAs.
-
Size and revenue attributes contribute to optimizing vehicle and hub capacities and calculating overall transportation rewards.
Resource: Shipment
Shipment to perform.
| JSON representation |
|---|
{ "name": string, "sourceHub": string, "destinationHub": string, "departureTime": { object ( |
| Fields | |
|---|---|
name |
Identifier. Cannot be updated. |
source |
Required. Hub at which the shipment is made available. |
destination |
Required. Hub to which the shipment must be delivered. |
departure |
Required. Departure time. |
arrival |
Required. Expected arrival time (i.e. soft constraint). |
arrival |
Optional. SLAs indicate that this time may be exceeded with some penalty. (If later than the maximum, the package is no more useful.) The penalty is given by a function of the delay (in minutes). |
size[] |
Optional. Used with vehicle and hub capacities. |
revenue |
Optional. Revenue from this package (only used to compute the reward), i.e. price paid by the paying party. If unset, revenue is computed by the system (depending on whether a new line is generated for this shipment or not). |
Methods |
|
|---|---|
|
Deletes a Shipment. |
|
Gets the details of a Shipment. |
|
Lists the Shipments. |
|
Route a new shipment. |