硅云帮助文档中心
搜索文档
热门搜索词:
产品简介
产品定价
常见问题
知识拓展
API参考
创建域名模板
创建域名模板
/domain-server/api/v1/template/create
POST
字段 | 类型 | 最大长度 | 参数位置 | 默认必填 | 描述 |
userType | string | 1 | RequestBody | P表示个人模板,C表示企业模板 | |
userCnFirstName | string | 8 | RequestBody | 姓中文 | |
userCnLastName | string | 8 | RequestBody | 名中文 | |
companyName | string | 64 | RequestBody | 选填 | 公司名中文,当为企业模板时必填 |
provinceName | string | 16 | RequestBody | 省份名中文 | |
cityName | string | 16 | RequestBody | 市名中文 | |
addrName | string | 128 | RequestBody | 地址名中文 | |
uzip | string | 6 | RequestBody | 6位邮编 | |
userEmail | string | 64 | RequestBody | 邮箱 | |
phonePrefix | string | 8 | RequestBody | 国家号码前缀,中国填 +86 | |
userPhone | string | 16 | RequestBody | 手机号码或座机,座机需要带区号 |
POST /domain-server/api/v1/template/create HTTP/1.1 request_id: 2942183558593ffc9d75fb8e16793ff api_key: 1706006863049654272 signature: 5c8a553ff7c67481fc91cc4d60884f950e4bd6704a717cd8d39b0df1ec342303 Content-Type: application/json { "userType": "P", "userCnFirstName":"头", "userCnLastName":"铁", "provinceName":"浙江省", "cityName":"宁波市", "addrName":"鄞州区95商务大厦", "uzip":"315000", "userEmail":"test@guiyun.com", "phonePrefix":"+86", "userPhone":"13177786453" }
{ "status": 2000, "message": "success", "data": { "userAccount": "z8z87878", "userType": "P", "userCnFirstName": "头", "userCnLastName": "铁", "userEnFirstName": "tou", "userEnLastName": "tie", "userEmail": "test@guiyun.com", "userCountry": "CN", "provinceName": "浙江省", "provinceEnName": "zhe jiang sheng", "cityName": "宁波市", "cityEnName": "ning bo shi", "addrName": "鄞州区95商务大厦", "addrEnName": "yin zhou qu 95 shang wu da sha", "uzip": "315000", "phonePrefix": "+86", "userPhone": "13177786453", "faxPrefix": "+86", "userFax": "13177786453", "status": "NoData", "owner": "头铁", "id": "tm-3hdw7q62a2222" } }
模板结构:
字段 | 类型 | 描述 |
id | string | 模板Id |
status | string | 模板状态,NoData未提交实名信息, ValidIng审核中, ValidSuccess审核成功, ValidError审核不通过 |
owner | string | 模板所有者,如果为企业模板,所有者为公司名 |
您对该文档有什么建议?
本文导航