Method: partners.vendors.customers.list
HTTP 请求
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*/vendors/*}/customers
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。资源名称,格式为 partners/[PARTNER_ID]/vendors/[VENDOR_ID] 。
|
查询参数
参数 |
pageSize |
integer
要返回的结果数上限。
|
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 vendor using a `GET` request to the provided URL, which employs gRPC Transcoding syntax."],["The request requires a `parent` path parameter specifying the vendor's resource name, and supports optional query parameters `pageSize` and `pageToken` for pagination."],["The request body must be empty, as this endpoint is only used to fetch data and not change it."],["The successful response contains a JSON body with a list of customers, an optional `nextPageToken` for retrieving subsequent pages, and a `totalSize` indicating the total number of customers, regardless of pagination."],["Accessing this endpoint requires the OAuth scope `https://www.googleapis.com/auth/androidworkprovisioning`."]]],["This document details how to list a vendor's customers via an HTTP GET request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent}/customers`. The `parent` path parameter, formatted as `partners/*/vendors/*`, is required. Optional query parameters `pageSize` and `pageToken` manage pagination. The request body is empty. A successful response includes a list of customers in JSON format, alongside `nextPageToken` for pagination and `totalSize`. Authorization requires the `androidworkprovisioning` OAuth scope.\n"]]