Method: offerclass.list
מחזירה רשימה של כל סוגי ההצעות עבור מזהה מנפיק נתון.
בקשת HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/offerClass
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של שאילתה
פרמטרים |
issuerId |
string (int64 format)
המזהה של המנפיק המורשה לפרסם סיווגים.
|
token |
string
הנתונים משמשים לקבלת קבוצת התוצאות הבאה אם צוין maxResults , אבל יותר מ-maxResults כיתות זמינות ברשימה. לדוגמה, אם יש לכם רשימה של 200 כיתות ואתם מפעילים את הרשימה maxResults עם הערך 20, הרשימה תחזיר את 20 הכיתות הראשונות ואסימון. רשימת השיחות שוב עם הערך 20 והאסימון maxResults כדי לקבל את 20 הכיתות הבאות.
|
maxResults |
integer
משמש לציון המספר המקסימלי של תוצאות שהוחזרו על ידי רשימה. אם לא מגדירים את maxResults , מוחזרות כל התוצאות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
שדות |
resources[] |
object (OfferClass )
משאבים שתואמים לבקשת הרשימה.
|
pagination |
object (Pagination )
עימוד של התשובה.
|
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-03-13 (שעון UTC).
[null,null,["עדכון אחרון: 2025-03-13 (שעון UTC)."],[[["Retrieves a list of all offer classes associated with a specific issuer ID."],["Utilizes query parameters like `issuerId`, `token`, and `maxResults` for filtering and pagination."],["Requires an empty request body and returns a JSON response containing offer class resources and pagination details."],["Needs authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["This describes retrieving offer classes using a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/offerClass`. The `issuerId` is required to identify the authorized issuer. Optional `token` and `maxResults` parameters facilitate paginated results. The request body must be empty. The successful response includes `resources`, an array of offer class objects, and `pagination` data. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]