Masz 5 minut? Pomóż nam ulepszyć dokumentację Google Workspace Marketplace, wypełniając
krótką ankietę online.
Method: customerLicense.get
Pobiera stan licencji, aby określić, czy klient ma dostęp do danej aplikacji.
Żądanie HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
applicationId |
string
Identyfikator aplikacji
|
customerId |
string
Identyfikator klienta
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu CustomerLicense
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/appsmarketplace.license
Więcej informacji znajdziesz w przewodniku po autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-01 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]