Method: partners.vendors.list

  • This webpage details how to retrieve a list of vendors associated with a specific partner using the Android Device Provisioning API.

  • The GET request requires a parent path parameter in the format partners/[PARTNER_ID] to identify the partner.

  • The query parameters pageSize and pageToken are used to manage the pagination of the results, while the request body should be empty.

  • The response body, when successful, will include a list of vendors, a nextPageToken for additional results if needed, and the totalSize of all vendors.

  • Authorization for this request requires the OAuth scope https://www.googleapis.com/auth/androidworkprovisioning.

Lists the vendors of the partner.

HTTP request

GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/vendors

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name in the format partners/[PARTNER_ID].

Query parameters

Parameters
pageSize

integer

The maximum number of results to be returned.

pageToken

string

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 to list vendors of the partner.

JSON representation
{
  "vendors": [
    {
      object (Company)
    }
  ],
  "nextPageToken": string,
  "totalSize": integer
}
Fields
vendors[]

object (Company)

List of vendors of the reseller partner. Fields name, companyId and companyName are populated to the Company object.

nextPageToken

string

A token to retrieve the next page of results. Omitted if no further results are available.

totalSize

integer

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.