Method: eventticketclass.addmessage
Menambahkan pesan ke kelas tiket acara yang dirujuk oleh ID kelas yang diberikan.
Permintaan HTTP
POST https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}/addMessage
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
resourceId |
string
ID unik untuk class. ID ini harus unik di semua class dari penerbit. Nilai ini harus mengikuti format issuer ID.identifier yang pertama diterbitkan oleh Google, dan yang kedua dipilih oleh Anda. ID unik Anda hanya boleh berisi karakter alfanumerik, '.', '_', atau '-'.
|
Isi permintaan
Isi permintaan memuat instance AddMessageRequest
.
Isi respons
Jika berhasil, isi respons memuat data dengan struktur berikut:
Kolom |
resource |
object (EventTicketClass )
Resource EventTicketClass yang diperbarui.
|
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/wallet_object.issuer
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-07 UTC.
[null,null,["Terakhir diperbarui pada 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"]]