Method: partners.customers.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
partnerId
인수로 식별되는 리셀러에 등록된 고객을 나열합니다. 이 목록에는 리셀러가 만든 고객과 포털을 사용하여 직접 등록한 고객이 포함됩니다.
HTTP 요청
GET https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers
URL은 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 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis endpoint retrieves a list of customers associated with a specific reseller partner, identified by the \u003ccode\u003epartnerId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eGET\u003c/code\u003e operation using a predefined URL structure and does not require a request body.\u003c/p\u003e\n"],["\u003cp\u003ePagination is supported through the \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters, allowing for the retrieval of a subset of customers and the navigation through large datasets.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, when successful, contains an array of customer objects, along with pagination details such as \u003ccode\u003enextPageToken\u003c/code\u003e and \u003ccode\u003etotalSize\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe access to this API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/androidworkprovisioning\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: partners.customers.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCustomersResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nLists the customers that are enrolled to the reseller identified by the `partnerId` argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.\n\n### HTTP request\n\n`GET https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the reseller partner. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of results to be returned. If not specified or 0, all the records are returned. |\n| `pageToken` | `string` A token identifying a page of results returned by the server. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message of all customers related to this partner.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"customers\": [ { object (/zero-touch/reference/reseller/rest/v1/partners.customers#Company) } ], \"nextPageToken\": string, \"totalSize\": integer } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `customers[]` | `object (`[Company](/zero-touch/reference/reseller/rest/v1/partners.customers#Company)`)` List of customers related to this reseller partner. |\n| `nextPageToken` | `string` A token to retrieve the next page of results. Omitted if no further results are available. |\n| `totalSize` | `integer` The total count of items in the list irrespective of pagination. |\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidworkprovisioning`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]