Method: partners.vendors.customers.list
HTTP リクエスト
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*/vendors/*}/customers
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[null,null,["最終更新日 2024-08-29 UTC。"],[[["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"]]