Method: eventticketclass.addmessage
Belirtilen sınıf kimliğinin referansta bulunduğu etkinlik bileti sınıfına bir mesaj ekler.
HTTP isteği
POST https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}/addMessage
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 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çermelidir.
|
İstek içeriği
İstek metni, AddMessageRequest
öğesinin bir örneğini içerir.
Yanıt metni
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
Alanlar |
resource |
object (EventTicketClass )
Güncellenen EventTicketClass kaynağı.
|
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."],[[["Adds a message to an existing event ticket class using its unique class ID."],["The request body should contain an `AddMessageRequest` as defined in the provided documentation."],["A successful response returns the updated `EventTicketClass` resource."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for access."],["Uses the `POST` method with the URL `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}/addMessage`, where `{resourceId}` is replaced with the class ID."]]],["This outlines the process to add a message to an event ticket class. A `POST` request is sent to `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}/addMessage`, using the `resourceId` path parameter to specify the class. The request body should contain an `AddMessageRequest`. Upon success, the response body includes the updated `EventTicketClass` resource. The operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]