Method: eventticketclass.get
指定されたクラス ID のイベント チケットクラスを返します。
HTTP リクエスト
GET https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
resourceId |
string
クラスの一意識別子。この ID は、発行者のすべてのクラスで一意である必要があります。この値には issuer ID.identifier の形式にする必要があります。前の部分は Google が発行するものであり、後の部分はご自身で選択するものです。一意識別子には、英数字、「.」、「_」、「-」のみを使用できます。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には EventTicketClass
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-04 UTC。
[null,null,["最終更新日 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"]]