Method: partners.customers.create
ゼロタッチ登録の顧客を作成する。メソッドが正常に返されたら、管理者ロールとオーナーロールは、API メソッドを呼び出すか、ゼロタッチ登録ポータルを使用して、デバイスと EMM 設定を管理できます。お客様には、ゼロタッチ登録を案内し、ポータルへのログイン方法を説明するメールが届きます。
HTTP リクエスト
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。販売パートナーを識別する partners/[PARTNER_ID] 形式の親リソース ID。
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"customer": {
object (Company )
}
} |
フィールド |
customer |
object (Company )
必須。新規顧客に追加する会社のデータ。companyName の値と、Google アカウントに関連付けられている owner_email を 1 つ以上含める必要があります。companyId と name の値は空にする必要があります。
|
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された Company
のインスタンスが含まれます。
承認スコープ
次の 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 creates a new customer for zero-touch enrollment, enabling them to manage devices and EMM configurations via API or the zero-touch portal."],["The HTTP request is a `POST` to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers`, using gRPC Transcoding syntax."],["The `parent` path parameter is required and identifies the reseller in the format `partners/[PARTNER_ID]`."],["The request body must include a `customer` object with the company name and at least one owner email associated with a Google Account."],["Successfully creating a customer returns a `Company` instance, and the operation requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],[]]