क्या आपके पास पांच मिनट हैं?
एक छोटे से ऑनलाइन सर्वे में हिस्सा लेकर, Google Workspace Marketplace के दस्तावेज़ों को बेहतर बनाने में हमारी मदद करें.
Method: customerLicense.get
इससे ग्राहक के लाइसेंस का स्टेटस पता किया जाता है, ताकि यह तय किया जा सके कि उसके पास किसी ऐप्लिकेशन का ऐक्सेस है या नहीं.
एचटीटीपी अनुरोध
GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
applicationId |
string
ऐप्लिकेशन आईडी
|
customerId |
string
ग्राहक आईडी
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में CustomerLicense
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/appsmarketplace.license
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]