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 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間: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"]]