Method: networks.shipments.path.update
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
配送経路を変更します。サービスで計算された経路を使用する代わりに、この呼び出しでユーザーが設定した経路が状態に含まれます。
HTTP リクエスト
POST https://middlemileoptimization.googleapis.com/v1/{path.shipment=networks/*/shipments/*}/path:update
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ |
path.shipment |
string
必須。経路が記述されている配送。
|
リクエスト本文
リクエストの本文には Path のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Path のインスタンスが含まれます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-09 UTC。
[null,null,["最終更新日 2024-08-09 UTC。"],[],["This API call updates a shipment's path. Users can define a custom path for a specific shipment, overriding the service-computed route. The request is made via a POST request to a specified URL, including the shipment ID in the path. The request body contains the new `Path` data. Upon successful execution, the response body returns the updated `Path` object. The `shipment` parameter within the path is a required string.\n"]]