AI-generated Key Takeaways
-
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
andpageToken
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
andtotalSize
. -
The access to this API requires the
https://www.googleapis.com/auth/androidworkprovisioning
authorization scope.
Lists 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.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
partnerId |
Required. The ID of the reseller partner. |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of results to be returned. If not specified or 0, all the records are returned. |
pageToken |
A token identifying a page of results returned by the server. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message of all customers related to this partner.
JSON representation | |
---|---|
{
"customers": [
{
object ( |
Fields | |
---|---|
customers[] |
List of customers related to this reseller partner. |
nextPageToken |
A token to retrieve the next page of results. Omitted if no further results are available. |
totalSize |
The total count of items in the list irrespective of pagination. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkprovisioning
For more information, see the OAuth 2.0 Overview.