Method: flightobject.get
Verilen nesne kimliğine sahip uçuş nesnesini döndürür.
HTTP isteği
GET https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string
Bir nesnenin benzersiz tanımlayıcısıdır. Bu kimlik, bir verenin tüm nesneleri genelinde benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier: İlk sertifika Google tarafından verilir, ikincisini siz seçersiniz. Benzersiz tanımlayıcınız yalnızca alfanümerik karakterler, '.', '_' veya '-' içermelidir.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, FlightObject
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/wallet_object.issuer
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: 2025-03-13 UTC.
[null,null,["Son güncelleme tarihi: 2025-03-13 UTC."],[[["Retrieves a flight object using its unique object ID."],["The request requires an empty body and uses the `GET` method with a specific URL structure."],["Successful responses return a FlightObject instance containing the requested information."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."],["The object ID should follow a specific format and include the issuer ID and a unique identifier."]]],["The core content describes how to retrieve a flight object using its unique ID. A `GET` request is sent to a specific URL, including the `resourceId` as a path parameter. This `resourceId` follows the format of `issuer ID.identifier`. The request body must be empty. A successful response returns a `FlightObject`. The operation requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The provided information uses gRPC Transcoding syntax.\n"]]