Method: eventticketclass.list
הפונקציה מחזירה רשימה של כל הכיתות של כרטיסים לאירועים למזהה מנפיק נתון.
בקשת HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של שאילתה
פרמטרים |
issuerId |
string (int64 format)
המזהה של המנפיק המורשה לפרסם סיווגים.
|
token |
string
הנתונים משמשים לקבלת קבוצת התוצאות הבאה אם צוין maxResults , אבל יותר מ-maxResults כיתות זמינות ברשימה. לדוגמה, אם יש לכם רשימה של 200 כיתות ואתם מפעילים את הרשימה maxResults עם הערך 20, הרשימה תחזיר את 20 הכיתות הראשונות ואסימון. רשימת השיחות שוב עם הערך 20 והאסימון maxResults כדי לקבל את 20 הכיתות הבאות.
|
maxResults |
integer
מזהה את המספר המקסימלי של תוצאות שמוחזרות על ידי רשימה. אם לא מגדירים את maxResults , מוחזרות כל התוצאות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול נתונים במבנה הבא:
שדות |
resources[] |
object (EventTicketClass )
משאבים שתואמים לבקשת הרשימה.
|
pagination |
object (Pagination )
עימוד של התשובה.
|
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-07 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-07 (שעון UTC)."],[[["Retrieves a list of all event ticket classes for a given issuer ID using a GET request to the specified endpoint."],["Allows for pagination using query parameters like `token` and `maxResults` to handle large result sets."],["Requires an empty request body and returns a JSON response containing an array of `EventTicketClass` resources and pagination details."],["Needs authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for access."]]],["The core action is retrieving a list of event ticket classes using a `GET` request to a specific URL. Key information includes the required `issuerId` query parameter for authorization, `token` for paginated results, and optional `maxResults` to limit the number of classes returned. The request body must be empty. The successful response includes an array of `resources` (event ticket classes) and `pagination` details in JSON format. Authorization requires the `wallet_object.issuer` scope.\n"]]