Method: networks.shipments.path.update
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir gönderimin yolunu değiştirir: Durum, hizmet tarafından hesaplanan yolu kullanmak yerine kullanıcının bu çağrı ile belirlediği yolu içerir.
HTTP isteği
POST https://middlemileoptimization.googleapis.com/v1/{path.shipment=networks/*/shipments/*}/path:update
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
| Parametreler |
path.shipment |
string
Zorunlu. Yolu açıklanan gönderim.
|
İstek içeriği
İstek metni, Path öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Path öğesinin bir örneğini içerir.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-09 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]