Method: customers.list
Kullanıcının müşteri hesaplarını listeler.
HTTP isteği
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Sorgu parametreleri
Parametreler |
pageSize |
integer
Zorunlu. Sonuçlar sayfasında gösterilecek maksimum müşteri sayısı. 1 ile 100 (dahil) arasında bir sayı.
|
pageToken |
string
Döndürülecek sonuç sayfasını belirten bir jeton.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
Müşterilerimin listelenmesiyle ilgili yanıt mesajı.
JSON gösterimi |
{
"customers": [
{
object (Company )
}
],
"nextPageToken": string
} |
Alanlar |
customers[] |
object (Company )
Arayan kullanıcının üyesi olduğu müşteri hesapları.
|
nextPageToken |
string
Sonuçların bir sonraki sayfasına erişmek için kullanılan jeton. Başka sonuç yoksa atlanır.
|
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidworkzerotouchemm
Daha fazla bilgi için OAuth 2.0'a Genel Bakış başlıklı makaleyi inceleyin.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-21 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-21 UTC."],[[["This endpoint retrieves a list of customer accounts associated with the authenticated user via a `GET` request to `https://androiddeviceprovisioning.googleapis.com/v1/customers`."],["The request requires `pageSize` and `pageToken` as query parameters to manage the number of results per page and navigate through multiple pages of customer accounts."],["The request body should be empty for this endpoint, meaning no data should be sent within the request body."],["The response body contains a list of customer objects in the `customers` field, and an optional `nextPageToken` string to retrieve subsequent pages of results if available."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This document outlines the process for listing a user's customer accounts via an HTTP GET request to `https://androiddeviceprovisioning.googleapis.com/v1/customers`. Required query parameters include `pageSize` (1-100) and `pageToken` for pagination. The request body must be empty. A successful response returns a JSON structure containing an array of `customers` (Company objects) and a `nextPageToken` for subsequent pages. Authorization requires the `androidworkzerotouchemm` OAuth scope.\n"]]