Method: customers.list
HTTP 要求
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
這個網址使用 gRPC 轉碼語法。
查詢參數
參數 |
pageSize |
integer
必要欄位。結果頁面中顯示的客戶數量上限。介於 1 至 100 之間的數字 (含 1 和 100)。
|
pageToken |
string
指定要傳回哪個結果頁面的符記。
|
回應主體
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"customers": [
{
object (Company )
}
],
"nextPageToken": string
} |
欄位 |
customers[] |
object (Company )
來電使用者所屬的客戶帳戶。
|
nextPageToken |
string
用於存取下一頁結果的符記。如果沒有其他結果,則會省略。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidworkzerotouchemm
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["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"]]