Punya waktu 5 menit? Bantu kami meningkatkan kualitas dokumentasi Google Workspace Marketplace dengan mengisi
survei online singkat.
Method: customerLicense.get
Mendapatkan status lisensi bagi pelanggan untuk menentukan apakah mereka memiliki akses untuk aplikasi tertentu.
Permintaan HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
applicationId |
string
ID Aplikasi
|
customerId |
string
ID Pelanggan
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance CustomerLicense
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/appsmarketplace.license
Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-01 UTC.
[null,null,["Terakhir diperbarui pada 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."]]],[]]