Method: partners.customers.list
列出已注册到由 partnerId
参数标识的转销商的客户。此列表包含转销商创建的客户以及通过该门户自行注册的客户。
HTTP 请求
GET https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers
网址采用 gRPC 转码语法。
路径参数
参数 |
partnerId |
string (int64 format)
必需。转销商合作伙伴的 ID。
|
查询参数
参数 |
pageSize |
integer
要返回的结果数上限。如果未指定或 0,则返回所有记录。
|
pageToken |
string
用于标识服务器所返回结果页面的令牌。
|
响应正文
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"customers": [
{
object (Company )
}
],
"nextPageToken": string,
"totalSize": integer
} |
字段 |
customers[] |
object (Company )
与此转销商合作伙伴相关的客户名单。
|
nextPageToken |
string
用于检索下一页结果的令牌。如果没有其他结果,则省略。
|
totalSize |
integer
列表中与分页无关的项目总数。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidworkprovisioning
如需了解详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["This endpoint retrieves a list of customers associated with a specific reseller partner, identified by the `partnerId`."],["The request is a `GET` operation using a predefined URL structure and does not require a request body."],["Pagination is supported through the `pageSize` and `pageToken` query parameters, allowing for the retrieval of a subset of customers and the navigation through large datasets."],["The response body, when successful, contains an array of customer objects, along with pagination details such as `nextPageToken` and `totalSize`."],["The access to this API requires the `https://www.googleapis.com/auth/androidworkprovisioning` authorization scope."]]],["This document outlines the process to retrieve a list of customers associated with a reseller partner. The key action is to use a `GET` request to the specified URL: `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers`, substituting `{partnerId}` with the reseller's ID. Optional query parameters `pageSize` and `pageToken` control pagination. The response includes a JSON payload with `customers` array, `nextPageToken`, and `totalSize`. The request requires authorization with the `https://www.googleapis.com/auth/androidworkprovisioning` scope, and the request body must be empty.\n"]]