简要描述
请求URL
请求方式
请求参数
| 参数名 |
必选 |
类型 |
说明 |
| apiKey |
是 |
string |
ApiKey |
| nonce |
是 |
string |
随机字符串 |
| timestamp |
是 |
string |
时间戳(秒) |
| sign |
是 |
string |
签名 |
| customers |
是 |
array |
客户 |
customers
| 参数名 |
必选 |
类型 |
说明 |
| customerName |
是 |
string |
客户名称 |
| enterpriseName |
是 |
string |
企业名称 |
| province |
否 |
string |
省 |
| city |
否 |
string |
市 |
| area |
否 |
string |
区 |
| address |
否 |
string |
地址 |
| starLevel |
否 |
string |
星级 |
| contacts |
否 |
array |
联系人 |
contacts
| 参数名 |
必选 |
类型 |
说明 |
| contactName |
否 |
string |
客户名称 |
| gender |
否 |
number |
性别 0未知1男2女 |
| cellphone |
否 |
string |
手机号 |
| telephone |
否 |
string |
电话号码 |
| email |
否 |
string |
邮箱 |
| wechat |
否 |
string |
微信 |
| qq |
否 |
string |
qq |
| position |
否 |
string |
职位 |
extendFields
| 参数名 |
必选 |
类型 |
说明 |
| groupName |
是 |
string |
自定义字段组 |
| fields |
否 |
array |
自定义字段 |
fields
| 参数名 |
必选 |
类型 |
说明 |
| fieldName |
是 |
string |
字段名 |
| fieldValue |
否 |
string |
字段值 |
请求示例
{
"nonce": "xxxxxxxxxxx",
"timestamp": "xxxxxxxxxxx",
"apiKey": "xxxxxxxxxxx",
"sign": "xxxxxxxxxxx",
"customers": [
{
"customerName": "OpenApi测试77",
"enterpriseName": "OpenApi测试77",
"province": "上海市",
"city": "上海市",
"area": "普陀区",
"address": "天悦中心",
"starLevel": 5,
"contacts": [
{
"contactName": "张三",
"gender": 1,
"cellphone": "15221218186",
"telephone": "021-88899910",
"email": "",
"wechat": "",
"qq": "1213121113",
"position": ""
}
],
"extendFields": [
{
"groupName": "基本信息",
"fields": [
{
"fieldName": "字段1",
"fieldValue": "aaaa"
}
]
}
]
}
]
}
响应示例
{
"code": 0,
"status": true,
"message": "请求成功",
"data": null
}