Method: eventticketclass.patch
Belirtilen sınıf kimliği tarafından referans verilen etkinlik bileti sınıfını günceller. Bu yöntem, yama semantiklerini destekler.
HTTP isteği
PATCH https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string
Bir sınıfın benzersiz tanımlayıcısıdır. Bu kimlik, bir kartı veren kuruluşa ait tüm sınıflarda 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çermelidir.
|
İstek içeriği
İstek metni, EventTicketClass
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, EventTicketClass
öğ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 class with patch semantics, allowing for partial modifications."],["The request must target a specific class identified by its unique `resourceId` in the URL path."],["The request body should contain the desired changes to the `EventTicketClass` object."],["A successful update will return the updated `EventTicketClass` object in the response."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for execution."]]],["The core action is to update an event ticket class using a `PATCH` request to a specified URL. The `resourceId` path parameter, a unique string identifier in the format of `issuer ID.identifier`, is required to locate the class. The request body contains the updated `EventTicketClass` data. A successful response returns the modified `EventTicketClass`. This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The URL uses gRPC Transcoding.\n"]]