Method: eventticketclass.get
הפונקציה מחזירה את מחלקת הכרטיס לאירוע עם מזהה הכיתה הנתון.
בקשת HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של הכיתה. המזהה הזה חייב להיות ייחודי בכל הכיתות של מנפיק. הערך צריך להיות בפורמט issuer ID.identifier, כאשר המזהה הראשון מונפק על ידי Google והשני נבחר על ידכם. המזהה הייחודי יכול לכלול רק תווים אלפאנומריים, '.', '_' או '-'.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של EventTicketClass
.
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]