Method: eventticketobject.patch
Belirtilen nesne kimliği tarafından referans verilen etkinlik bileti nesnesini günceller. Bu yöntem yama anlamını destekler.
HTTP isteği
PATCH https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{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 kartı veren kuruluşa ait tüm nesneler arasında benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier. Bunlardan ilki 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, EventTicketObject
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, EventTicketObject
öğ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-04 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-04 UTC."],[[["Updates an existing event ticket object with patch semantics, allowing for partial modifications."],["Utilizes a `PATCH` request to `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}`, where `{resourceId}` is the unique identifier of the event ticket object."],["The request body should contain an `EventTicketObject` with the desired updates, and a successful response will return the updated `EventTicketObject`."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."]]],["This document details updating an event ticket object via a `PATCH` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a unique `resourceId` path parameter. The request body must contain an `EventTicketObject` instance, and a successful response will also contain an `EventTicketObject`. The process necessitates the authorization scope: `https://www.googleapis.com/auth/wallet_object.issuer`. This updates the ticket referenced by the given id.\n"]]