คุณมีเวลา 5 นาทีไหม ช่วยเราปรับปรุงเอกสารประกอบของ Google Workspace Marketplace โดยการตอบ
แบบสํารวจออนไลน์สั้นๆ
Method: customerLicense.get
รับข้อมูลสถานะใบอนุญาตสำหรับลูกค้าเพื่อพิจารณาว่ามีสิทธิ์เข้าถึงแอปหนึ่งๆ หรือไม่
คำขอ HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
applicationId |
string
รหัสแอปพลิเคชัน
|
customerId |
string
รหัสลูกค้า
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ CustomerLicense
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/appsmarketplace.license
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-01 UTC
[null,null,["อัปเดตล่าสุด 2023-12-01 UTC"],[[["Retrieves the license status for a specific customer to check if they have access to a particular application."],["The request is made using an HTTP GET method to a designated URL with parameters for application ID and customer ID."],["The response provides details regarding the customer's license through the `CustomerLicense` object if the request is successful."],["Authorization is needed using the `https://www.googleapis.com/auth/appsmarketplace.license` scope."]]],["This describes how to retrieve a customer's license status for a specific application. A `GET` request is made to `https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}`, with the `applicationId` and `customerId` provided as path parameters. The request body is empty. A successful response returns a `CustomerLicense` object. Authorization requires the `https://www.googleapis.com/auth/appsmarketplace.license` OAuth scope.\n"]]