Method: offerobject.get
Belirtilen nesne kimliğine sahip teklif nesnesini döndürür.
HTTP isteği
GET https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{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ı. Bu kimlik, bir verenin tüm nesneleri arasında benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier burada Google tarafından verilir, ikincisi ise sizin tarafınızdan seçilir. Benzersiz tanımlayıcınız yalnızca alfanümerik karakterler, ".", "_" veya "-" işaretlerini içermelidir.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, OfferObject
öğ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: 2024-11-07 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-07 UTC."],[[["Retrieves a specific offer object using its unique identifier."],["The request requires an empty body and uses the `GET` method with a specific URL structure."],["Successful responses provide the offer object details in the response body."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` scope."],["The object ID must follow a specific format including issuer and identifier components."]]],["The core content describes retrieving an offer object using a `GET` request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}`. The `resourceId` is a unique string identifier following the format `issuer ID.identifier`. The request body must be empty, and the successful response will contain an `OfferObject` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The content also specifies the use of gRPC transcoding syntax in the URL.\n"]]