Method: customers.list
HTTP 请求
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
网址采用 gRPC 转码语法。
查询参数
参数 |
pageSize |
integer
必需。每页结果中显示的客户数量上限。一个介于 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 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-21。
[null,null,["最后更新时间 (UTC):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"]]