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):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["This describes how to create a zero-touch enrollment customer using a POST request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers`. The `parent` path parameter specifies the reseller. The request body must include a `customer` object with a `companyName` and at least one `owner_email`. Upon success, a new `Company` instance is returned. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The created customer can then manage devices and EMM configs.\n"],null,[]]