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 صفًا ورمزًا مميزًا. قائمة المكالمات مجددًا مع ضبط 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 و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-03-13 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-13 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]