获取联系人详情
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm3/contact/detail
Query参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"contact_id": 1537362296950956033
}
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| contact_id | long | 是 | 联系人ID |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"contact_id": 1631517114528779266,
"contact_name": "浅梦",
"uin_contact_id": "",
"corp_tags": [
{
"tag_id": "etDkH9EAAAsnkHUGGBQ4l_TXKyyVKGPQ",
"tag_name": "一般",
"tag_type": 1
}
],
"business_tags": [
{
"tag_id": "etDkH9EAAAsnkHUGGBQ4l_TXKyyVKGPQ",
"tag_name": "一般",
"tag_type": 3
}
],
"company_id": 1531517114528779266,
"external_user_id": "",
"mobile_phone": "",
"access_customer_channel": [
{
"name": "渠道1",
"id": "1831517114528779266"
}
],
"gender": {
"name": "男",
"id": "1731517114528779266"
},
"birthday": 1638785104,
"email": "",
"area": {
"name": "四川省-遂宁市-蓬溪县",
"code": "510921"
},
"address": "",
"remark": "",
"owner_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
"create_user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
"create_time": 1638785104,
"last_follow_time": 1638785104,
"last_follow": "",
"relate_customer_time": null,
"add_friend_status": 0,
"owner_change_time": 1653993589,
"field_map": {}
}
}
参数说明:
| 参数 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 对返回码的文本描述内容 |
| data | object | |
| contact_id | long | 联系人ID |
| contact_name | string | 联系人名称 |
| uin_contact_id | string | 第三方联系人ID |
| corp_tags | object[] | 企业标签 |
| tag_id | string | 标签ID |
| tag_name | string | 标签名称 |
| tag_type | int | 标签类型:1 企业标签, 3 业务标签 |
| business_tags | object[] | 业务标签 |
| tag_id | string | 标签ID |
| tag_name | string | 标签名称 |
| tag_type | int | 标签类型:1 企业标签, 3 业务标签 |
| company_id | long | 企业ID |
| external_user_id | string | 企微客户ID |
| mobile_phone | string | 手机号 |
| access_customer_channel | object[] | 渠道 |
| name | string | 渠道名称 |
| id | string | 渠道自定义ID |
| gender | object | 性别 |
| name | string | 渠道名称 |
| id | string | 渠道自定义ID |
| birthday | long | 生日 |
| string | 邮件 | |
| area | object | 地区 |
| name | string | 地区名 |
| code | string | 地区码 |
| address | string | 地址 |
| remark | string | 备注 |
| owner_id | string | 负责人ID |
| create_user_id | string | 创建人 |
| create_time | long | 联系人创建时间 |
| last_follow_time | long | 联系人最后跟进时间 |
| last_follow | string | 联系人最后跟进内容 |
| owner_change_time | long | 负责人变更时间 |
| field_map | map | 自定义字段 |