Method: partners.customers.create
创建客户以进行零触摸注册。在该方法成功返回后,管理员和所有者角色即可通过调用 API 方法或使用其零触摸注册门户来管理设备和 EMM 配置。客户会收到一封电子邮件,欢迎他们进行零触摸注册,并说明如何登录该门户。
HTTP 请求
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。用于标识转销商的父级资源 ID(格式为 partners/[PARTNER_ID] )。
|
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
{
"customer": {
object (Company )
}
} |
字段 |
customer |
object (Company )
必需。要填充新客户的公司数据。必须包含“companyName ”的值以及至少一个与 Google 账号相关联的“owner_email ”。companyId 和 name 的值必须为空。
|
响应正文
如果成功,响应正文将包含一个新创建的 Company
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidworkprovisioning
如需了解详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["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."]]],[]]