联系人联系方式
POST https://qw-openapi-tx.dustess.com/customer/v1/contactInformationType/list?accessToken=
Content-Type: application/json
字段名 | 字段类型 | 说明 | 是否必须 |
---|---|---|---|
accessToken | String | 调用接口凭证,请查看开发指南-接口鉴权说明 | true |
body
json
- Request-Example:{}
参数名 | 类型 | 说明 |
---|---|---|
success | Bool | 请求成功失败标识 |
code | Int | 响应码 |
msg | String | 响应信息 |
data | Object | 数据信息 |
data.list | Object[] | 联系方式列表 |
data.list.id | String | 联系方式id |
data.list.name | String | 联系方式名称 |
data.list.type | String | 联系方式类型:mobile=手机号、landline=座机、custom=自定义; |
data.list.state | String | CIType_ACTIVE=激活; CIType_DISABLED=停用 CIType_DELETED=删除 |
data.list.regexp | String | 联系方式正则表达式 |
trace_id | String | 上下文链路id |
json
- Response-Example:{
"code": 0,
"data": {
"list": [{
"id": "mobile",
"name": "手机",
"regexp": "^[1-9]\\d{10}$",
"state": "CIType_ACTIVE",
"type": "mobile"
}, {
"id": "landline",
"name": "座机号",
"regexp": "^\\d{0,40}-?\\d{1,40}$",
"state": "CIType_ACTIVE",
"type": "landline"
}, {
"id": "zcgu8bli2v4",
"name": "微信",
"regexp": "^\\S{1,40}$",
"state": "CIType_ACTIVE",
"type": "custom"
}, {
"id": "zcrkitw0f0g",
"name": "QQ号",
"regexp": "^\\S{1,40}$",
"state": "CIType_DISABLED",
"type": "custom"
}, {
"id": "zcsbbg8em80",
"name": "邮箱",
"regexp": "^\\S{1,40}$",
"state": "CIType_DISABLED",
"type": "custom"
}, {
"id": "ztrgmc0pgjk",
"name": "其他方式",
"regexp": "^\\S{1,40}$",
"state": "CIType_ACTIVE",
"type": "custom"
}, {
"id": "zts5vz027sw",
"name": "抖音号",
"regexp": "^\\S{1,40}$",
"state": "CIType_ACTIVE",
"type": "custom"
}, {
"id": "ztsf1s6x8n4",
"name": "小红书号",
"regexp": "^\\S{1,40}$",
"state": "CIType_ACTIVE",
"type": "custom"
}, {
"id": "zudjuirte68",
"name": "备注",
"regexp": "^\\S{1,40}$",
"state": "CIType_ACTIVE",
"type": "custom"
}, {
"id": "11fciz4l4z5s",
"name": "姓\u0026手机",
"regexp": "^\\S{1,40}$",
"state": "CIType_ACTIVE",
"type": "custom"
}]
},
"msg": "OK",
"success": true,
"traceId": "76574251-e0b4-972b-9d9f-710228daed9c"
}