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 และโทเค็นเพื่อรับชั้นเรียน 20 รายการถัดไป
|
maxResults |
integer
ระบุจํานวนผลลัพธ์สูงสุดที่รายการแสดง ระบบจะแสดงผลลัพธ์ทั้งหมดหากไม่ได้กําหนด maxResults
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/wallet_object.issuer
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]