יש לך 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
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]