Method: offerobject.list
מחזירה רשימה של כל האובייקטים של ההצעה עבור מזהה מנפיק נתון.
בקשת HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/offerObject
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של שאילתה
פרמטרים |
classId |
string
מזהה המחלקה שהאובייקטים שלה יופיעו ברשימה.
|
token |
string
משמש לקבלת קבוצת התוצאות הבאה אם מצוין maxResults , אבל יותר מ-maxResults אובייקטים זמינים ברשימה. לדוגמה, אם יש לכם רשימה של 200 אובייקטים ואתם קוראים לרשימה maxResults מוגדר ל-20, הרשימה תחזיר את 20 האובייקטים הראשונים ואסימון. רשימת הקריאות שוב עם maxResults מוגדרת ל-20 והאסימון כדי לקבל את 20 האובייקטים הבאים.
|
maxResults |
integer
משמש לציון המספר המקסימלי של תוצאות שהוחזרו על ידי רשימה. אם לא מגדירים את maxResults , מוחזרות כל התוצאות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
שדות |
resources[] |
object (OfferObject )
משאבים שתואמים לבקשת הרשימה.
|
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 paginated list of all offer objects for a given issuer ID using the `GET` method."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."],["Allows filtering by class ID and specifying the maximum number of results per page using query parameters."],["Returns an empty request body and a response body containing an array of offer objects and pagination details in JSON format."]]],["This outlines retrieving offer objects using a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/offerObject`. The `classId`, `token`, and `maxResults` parameters in the query are used to filter and paginate results. The request body must be empty. A successful response returns a JSON object containing an array of `OfferObject` resources and `Pagination` details. This process requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]