Method: eventticketclass.get
Zwraca klasę biletu na wydarzenie o podanym identyfikatorze klasy.
Żądanie HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
resourceId |
string
Unikalny identyfikator klasy. Ten identyfikator musi być unikalny wśród wszystkich klas wydawcy. Ta wartość powinna mieć format issuer ID.identifier, gdzie pierwszy identyfikator jest wystawiany przez Google, a drugi jest wybierany przez Ciebie. Unikalny identyfikator powinien zawierać tylko znaki alfanumeryczne oraz znaki „.”, „_” lub „-”.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EventTicketClass
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-04 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-04 UTC."],[[["This document describes how to retrieve an event ticket class using the Google Wallet API."],["It requires a `GET` request to a specific URL, including the unique class ID."],["The request body should be empty and the response will contain details of the event ticket class."],["To use this API, you need the `wallet_object.issuer` OAuth scope."]]],["The core content describes retrieving an event ticket class using a GET request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}`, where `{resourceId}` is a unique class identifier. This identifier follows the format `\u003cissuer ID\u003e.\u003cidentifier\u003e`. The request body should be empty. A successful response returns an `EventTicketClass` object. The action requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]