REST Resource: networks.shipments
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:Shipment
JSON 表示法 |
{
"name": string,
"sourceHub": string,
"destinationHub": string,
"departureTime": {
object (DateTime )
},
"arrivalTime": {
object (DateTimeRange )
},
"arrivalEarlinessTardinessCost": {
object (EarlinessTardiness )
},
"size": [
{
object (ValueDimension )
}
],
"revenue": number
} |
欄位 |
name |
string
必要欄位。ID。設定完成後即無法更新。
|
sourceHub |
string
必要欄位。出貨中心。
|
destinationHub |
string
必要欄位。此貨品交付目的地的中心。
|
departureTime |
object (DateTime )
必要欄位。出發時間。
|
arrivalTime |
object (DateTimeRange )
必要欄位。預計抵達時間 (即軟性限制)。
|
arrivalEarlinessTardinessCost |
object (EarlinessTardiness )
選用設定。服務水準協議表示時間可能會超過,但會受到一定處分。(如果晚於大小上限,包裹就沒有用處)。處分取決於延遲函式 (以分鐘為單位)。
|
size[] |
object (ValueDimension )
選用設定。用於車輛和集線器容量。
|
revenue |
number
選用設定。此套裝方案的收益 (僅用於計算獎勵),亦即由付款方支付的價格。如未設定,系統會計算收益 (取決於是否為此貨物產生新行)。
|
方法 |
|
刪除出貨。 |
|
取得出貨的詳細資料。 |
|
列出出貨。 |
|
安排新的出貨商品。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-23 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-23 (世界標準時間)。"],[[["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."]]],["This document details the structure and management of a \"Shipment\" resource. Key information includes: the shipment's unique `name`, required `sourceHub` and `destinationHub`, `departureTime`, and `arrivalTime`. Optional data includes `arrivalEarlinessTardinessCost`, `size`, and `revenue`. Shipments can be created, deleted, retrieved, listed, and routed using specified methods. The shipment represents a package which needs to be deliver between hubs with a time constraint.\n"]]