POST https://qw-openapi-tx.dustess.com/open-integration-api/friend/v1/batchBindContact?accessToken=
Content-Type: application/json| 请求参数名 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| list | Object[] | 绑定列表(单次最多操作100个) | true |
| list.friendID | Int | 好友关系id | true |
| list.customerID | String | 联系人id | true |
json - Request-Example:{
"list": [{
"friendID": 90455468882788353,
"customerID": "3522c3f0-7086-11ed-9234-4a81fd245ab3"
}, {
"friendID": 21212,
"customerID": "3522c3f0-7086-11ed-9234-4a81fd245ab2"
}]
}| 响应参数名 | 类型 | 说明 |
|---|---|---|
| code | Int | 响应码,0:成功 |
| msg | String | 消息提示 |
| success | Bool | 成功标识 |
| data | Object[] | 响应码 |
| data.friendID | Int | 好友id |
| data.code | Int | 好友绑定联系人错误码(当绑定失败时才有该数据) |
| data.msg | String | 好友绑定联系人错误消息(当绑定失败时才有该数据) |
{
"success": true,
"code": 0,
"msg": "",
"data": [{
"friendID": 90455468882788353
},
{
"code": 20090401,
"msg": "好友不存在",
"friendID": 12354
}
]
}
{
"success": false,
"code": 10001,
"msg": "system unknown error",
"data": []
}