Method: eventticketclass.get
تعرض فئة تذكرة الحدث بمعرّف الفئة المحدّد.
طلب HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
يستخدِم عنوان URL بنية تحويل ترميز 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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-04 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]