获取渠道活码详情
POST
/api/v3/channelcode/detail
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
id
integer
渠道活码id
示例
{
"id": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/channelcode/detail' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
id
integer
渠道id
corpid
string
公司id
state
string
渠道值
description
string
描述
autoTag
boolean
自动打标签
skipVerify
boolean
是否自动通过
qrCodeLogo
string | null
二维码logo
configId
string
渠道活码configId
qrCodeUrl
string
二维码地址
psQrCodeUrl
string
拼接logo的二维码地址
groupId
integer
分组id
assignType
integer
活码分配规则
allowMaxPerday
integer
普通分配规则时, 是否允许设置 每日加好友上限
assignMode
integer
活码分配模式 0 高效 1智能
avoidMultiFollow
null
是否避免客户重复添加员工
userStatusDetect
null
开启异常账号监测
userStatusDetectType
integer
异常账号处理规则
userMaxScan
null
最多允许扫码次数。连续扫码超出该次数没有加上好友,会通知相关人员处理
verifyType
integer
验证规则 0全天自动通过 1时段自动通过 2手动通过
verifyStart
string
好友自动通过起始时间
verifyEnd
string
好友自动通过结束时间
users
array [object {12}]
使用员工
backupUsers
array [object {7}]
备用员工
userStatusNotifyUsers
null
员工状态异常通知员工
customerTags
array [object {3}]
自动标签
welcomeMsg
object
欢迎语
isCustomComment
boolean
是否自动备注
customComment
object
自动发备注规则
allowOffline
integer
是否允许下线 1允许
avoidMultiFollowLimitTime
integer
开放避免客户重复添加员工时间
avoidMultiFollowLimitTimeUnit
integer
开放避免客户重复添加员工时间单位
verificationDepartments
array [object {2}]
去重-部门
verificationSales
array [object {2}]
去重-员工
customDefine
null
客户自定义文案, 或图片
editVersion
integer
版本号
psChannelName
null
下载活码是否带有活码名称
示例
{
"code": 0,
"message": "success",
"data": {
"id": 153008,
"corpid": "ww476472504274c9f4",
"state": "tszz71",
"description": "向量渠道接口1234???",
"autoTag": false,
"skipVerify": false,
"qrCodeLogo": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/75/rBF5vWSc9-yAVAz_AAErYjoc4CQ84.jpeg",
"configId": "5524e293a4d42daa8d03ed213b1b9869",
"qrCodeUrl": "https://wework.qpic.cn/wwpic/46769_0q8PdTmhR0qbetu_1688004856/0",
"psQrCodeUrl": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWSc6PeAHRlGAADPkwl6p2Q867.png",
"groupId": 548683634901184,
"creatorId": 517828621113344,
"creatorName": null,
"assignType": 0,
"allowMaxPerday": 1,
"assignMode": 1,
"avoidMultiFollow": true,
"userStatusDetect": null,
"userStatusDetectType": 0,
"userMaxScan": null,
"verifyType": 2,
"verifyStart": "00:00",
"verifyEnd": "11:00",
"users": [
{
"id": 548788747184323,
"salesId": 480841098866880,
"salesDeleted": false,
"salesName": "杨晋芳",
"index": 1,
"weight": 99,
"singleRoundLimit": 111,
"perDayLimit": 111,
"workPeriods": null,
"offline": 0,
"accountType": 2,
"enable": 1
},
{
"id": 548788747184320,
"salesId": 469704725706944,
"salesDeleted": false,
"salesName": "苏金泰",
"index": 2,
"weight": 9,
"singleRoundLimit": 11,
"perDayLimit": 11,
"workPeriods": [
{
"dayOfWeek": 1,
"ranges": [
{
"start": "00:00",
"end": "08:00"
},
{
"start": "08:00",
"end": "12:00"
},
{
"start": "14:00",
"end": "19:00"
}
]
},
{
"dayOfWeek": 2,
"ranges": [
{
"start": "00:00",
"end": "08:00"
},
{
"start": "08:00",
"end": "12:00"
},
{
"start": "14:00",
"end": "19:00"
}
]
}
],
"offline": 0,
"accountType": 2,
"enable": 1
}
],
"backupUsers": [
{
"id": 480841098866880,
"name": "杨晋芳",
"salesDeleted": false,
"dailyAddMax": null,
"memberNum": null,
"offline": 0,
"accountType": 2
}
],
"userStatusNotifyUsers": null,
"customerTags": [
{
"id": 863467,
"name": "群聊敏感词精确匹配",
"deleted": 0
},
{
"id": 863469,
"name": "购买商品任意",
"deleted": 0
},
{
"id": 863471,
"name": "购买商品指定",
"deleted": 0
}
],
"welcomeMsg": {
"id": 548788747149504,
"textTemplate": "欢迎语欢迎语欢迎",
"welcomeMsgSource": "[{\"allowType\":true,\"fileId\":90043,\"fileName\":\"cae65154786243b47835583b21213f1c.jpeg\",\"fileUrl\":\"https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWScIryAVQZ4AAANo2Hz-j8932.png\",\"imageOrVideoOk\":true,\"index\":6,\"linkOk\":true,\"mcOk\":true,\"mediaId\":\"32HzQXi05znyphYQ4dT5bSpuKgK1IS0Z-nXNZ9DcLL09cMDpcYjss5BVbNwkGhgMG\",\"miniOk\":true,\"msgType\":\"image\"},{\"allowType\":true,\"fileId\":90045,\"fileName\":\"d1b680cc92d637daf2fc2cc178cb70f9.jpeg\",\"fileUrl\":\"https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWScIsuAFRAJAAErYj312bY90.jpeg\",\"imageOrVideoOk\":true,\"index\":5,\"linkOk\":true,\"mcOk\":true,\"mediaId\":\"3Y47wlcvsjqtgSXl7T9nbNy5w-zz8YTWJa_TvcXInyUaAZZea3MIAGotReyU_xIza\",\"miniOk\":true,\"msgType\":\"file\"},{\"allowType\":true,\"fileId\":90044,\"fileName\":\"rBIAY2KPa0aAG1pBABIgtxHuR2Y758.mp4\",\"fileUrl\":\"https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWScIsOASGxeAAjYu2AN4qY845.mp4\",\"imageOrVideoOk\":true,\"index\":4,\"linkOk\":true,\"mcOk\":true,\"mediaId\":\"3jslcCjQ3XAZ4tt-0iM9zIfqv815CXP1NtYtph0xCtxeO0TVyCYkrMPohcSRCSl_z\",\"miniOk\":true,\"msgType\":\"video\"},{\"allowType\":true,\"desc\":\"百度一下,你就知道\",\"fileId\":90047,\"fileName\":\"94779bbe38a8b75c68c19fb66fda66c8.jpeg\",\"fileUrl\":\"https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/64/rBF5vWSCx9mAOwIMAACF9nbey3g894.jpg\",\"imageOrVideoOk\":true,\"index\":3,\"linkOk\":true,\"mcOk\":true,\"mediaId\":\"3YExoZlIsNEMe-zkUCTNLvpSfcARXTb3Avr28ATOOsl5j4VGffjkA58txcRnHWtQ8\",\"miniOk\":true,\"msgType\":\"link\",\"title\":\"百度\",\"url\":\"https://www.baidu.com/\"},{\"allowType\":true,\"desc\":\"🤔黑金超光子为啥能成为💯光子嫩肤届的天花板🏥北京薇琳皮肤科冻龄女神👩\",\"fileUrl\":\"https://beta.tanmarket.cn/fdfsServer/group1/M00/00/A1/rBF5vWMO0baATftxAAvD4w4qA6Y83.jpeg\",\"imageOrVideoOk\":true,\"index\":2,\"linkOk\":true,\"mcOk\":true,\"miniOk\":true,\"msgType\":\"mccontent\",\"title\":\"🤔黑金超光子为啥能成为💯光子嫩肤届的天花板🏥北京薇琳皮肤科冻龄女神👩\",\"url\":\"https://betah5.tanmarket.cn/#/article?hjType=1&content_title=%F0%9F%A4%94%E9%BB%91%E9%87%91%E8%B6%85%E5%85%89%E5%AD%90%E4%B8%BA%E5%95%A5%E8%83%BD%E6%88%90%E4%B8%BA%20%F0%9F%92%AF%E5%85%89%E5%AD%90%E5%AB%A9%E8%82%A4%E5%B1%8A%E7%9A%84%E5%A4%A9%E8%8A%B1%E6%9D%BF%20%F0%9F%8F%A5%E5%8C%97%E4%BA%AC%E8%96%87%E7%90%B3%E7%9A%AE%E8%82%A4%E7%A7%91%E5%86%BB%E9%BE%84%E5%A5%B3%E7%A5%9E%20&trace_deep=0&trace_id=7fe41400-74d5-42f0-89e8-e3efb977ee64&content_id=237aff9ee1a111ec8aba00163e366c6a&snapshot_id=237aff9ee1a111ec8aba00163e366c6a&content_type=1&source_title=&source_type=1&showType=1,2,3,4&corp_id=ww476472504274c9f4&sales_id=\"},{\"allowType\":true,\"appId\":\"wxbbfa85e7cda25a54\",\"fileId\":90046,\"fileName\":\"92b212b45669e59ad51fce5945f78db5.jpeg\",\"fileUrl\":\"https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/64/rBF5vWSCx9qAAHknAATquQ_Q94Q263.jpg\",\"imageOrVideoOk\":true,\"index\":1,\"linkOk\":true,\"mcOk\":true,\"mediaId\":\"3BJ_Ejo7gL-YFQ5TsYQ7gwR4vAXNT8e4oUNOGi_nKMPYQWRgnhbnE7TZEUeK1VjXi\",\"miniOk\":true,\"msgType\":\"miniprogram\",\"page\":\"//pages/flash/flash.html gh_ac8cf33be4b3\",\"title\":\"江小程序\"}]",
"welcomeMsg": [
{
"msgType": "image",
"fileId": 90043,
"fileUrl": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWScIryAVQZ4AAANo2Hz-j8932.png",
"index": 6,
"mediaId": "32HzQXi05znyphYQ4dT5bSpuKgK1IS0Z-nXNZ9DcLL09cMDpcYjss5BVbNwkGhgMG",
"title": null,
"desc": null,
"url": null,
"appId": null,
"page": null,
"redPacketTemplateId": null,
"redPacketTitle": null,
"amount": null,
"greetMsg": null,
"corpMsg": null,
"type": null,
"fileName": "cae65154786243b47835583b21213f1c.jpeg"
},
{
"msgType": "file",
"fileId": 90045,
"fileUrl": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWScIsuAFRAJAAErYj312bY90.jpeg",
"index": 5,
"mediaId": "3Y47wlcvsjqtgSXl7T9nbNy5w-zz8YTWJa_TvcXInyUaAZZea3MIAGotReyU_xIza",
"title": null,
"desc": null,
"url": null,
"appId": null,
"page": null,
"redPacketTemplateId": null,
"redPacketTitle": null,
"amount": null,
"greetMsg": null,
"corpMsg": null,
"type": null,
"fileName": "d1b680cc92d637daf2fc2cc178cb70f9.jpeg"
},
{
"msgType": "video",
"fileId": 90044,
"fileUrl": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/74/rBF5vWScIsOASGxeAAjYu2AN4qY845.mp4",
"index": 4,
"mediaId": "3jslcCjQ3XAZ4tt-0iM9zIfqv815CXP1NtYtph0xCtxeO0TVyCYkrMPohcSRCSl_z",
"title": null,
"desc": null,
"url": null,
"appId": null,
"page": null,
"redPacketTemplateId": null,
"redPacketTitle": null,
"amount": null,
"greetMsg": null,
"corpMsg": null,
"type": null,
"fileName": "rBIAY2KPa0aAG1pBABIgtxHuR2Y758.mp4"
},
{
"msgType": "link",
"fileId": 90047,
"fileUrl": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/64/rBF5vWSCx9mAOwIMAACF9nbey3g894.jpg",
"index": 3,
"mediaId": "3YExoZlIsNEMe-zkUCTNLvpSfcARXTb3Avr28ATOOsl5j4VGffjkA58txcRnHWtQ8",
"title": "百度",
"desc": "百度一下,你就知道",
"url": "https://www.baidu.com/",
"appId": null,
"page": null,
"redPacketTemplateId": null,
"redPacketTitle": null,
"amount": null,
"greetMsg": null,
"corpMsg": null,
"type": null,
"fileName": "94779bbe38a8b75c68c19fb66fda66c8.jpeg"
},
{
"msgType": "mccontent",
"fileId": null,
"fileUrl": "https://beta.tanmarket.cn/fdfsServer/group1/M00/00/A1/rBF5vWMO0baATftxAAvD4w4qA6Y83.jpeg",
"index": 2,
"mediaId": null,
"title": "🤔黑金超光子为啥能成为💯光子嫩肤届的天花板🏥北京薇琳皮肤科冻龄女神👩",
"desc": "🤔黑金超光子为啥能成为💯光子嫩肤届的天花板🏥北京薇琳皮肤科冻龄女神👩",
"url": "https://betah5.tanmarket.cn/#/article?hjType=1&content_title=%F0%9F%A4%94%E9%BB%91%E9%87%91%E8%B6%85%E5%85%89%E5%AD%90%E4%B8%BA%E5%95%A5%E8%83%BD%E6%88%90%E4%B8%BA%20%F0%9F%92%AF%E5%85%89%E5%AD%90%E5%AB%A9%E8%82%A4%E5%B1%8A%E7%9A%84%E5%A4%A9%E8%8A%B1%E6%9D%BF%20%F0%9F%8F%A5%E5%8C%97%E4%BA%AC%E8%96%87%E7%90%B3%E7%9A%AE%E8%82%A4%E7%A7%91%E5%86%BB%E9%BE%84%E5%A5%B3%E7%A5%9E%20&trace_deep=0&trace_id=7fe41400-74d5-42f0-89e8-e3efb977ee64&content_id=237aff9ee1a111ec8aba00163e366c6a&snapshot_id=237aff9ee1a111ec8aba00163e366c6a&content_type=1&source_title=&source_type=1&showType=1,2,3,4&corp_id=ww476472504274c9f4&sales_id=",
"appId": null,
"page": null,
"redPacketTemplateId": null,
"redPacketTitle": null,
"amount": null,
"greetMsg": null,
"corpMsg": null,
"type": null,
"fileName": null
},
{
"msgType": "miniprogram",
"fileId": 90046,
"fileUrl": "https://betafile.tanmarket.cn/fdfsServer/group1/M00/01/64/rBF5vWSCx9qAAHknAATquQ_Q94Q263.jpg",
"index": 1,
"mediaId": "3BJ_Ejo7gL-YFQ5TsYQ7gwR4vAXNT8e4oUNOGi_nKMPYQWRgnhbnE7TZEUeK1VjXi",
"title": "江小程序",
"desc": null,
"url": null,
"appId": "wxbbfa85e7cda25a54",
"page": "//pages/flash/flash.html gh_ac8cf33be4b3",
"redPacketTemplateId": null,
"redPacketTitle": null,
"amount": null,
"greetMsg": null,
"corpMsg": null,
"type": null,
"fileName": "92b212b45669e59ad51fce5945f78db5.jpeg"
}
],
"timeSegmentDisable": true,
"timeSegmentRule": [],
"redPacketMsgDTO": null,
"redPacketMsg": null,
"isRedPacketOpen": null
},
"isCustomComment": true,
"customComment": {
"comment": "12345",
"commentConfig": [
2
],
"commentSort": [
3,
2,
1
]
},
"allowOffline": 1,
"avoidMultiFollowLimitTime": 1,
"avoidMultiFollowLimitTimeUnit": 0,
"verificationDepartments": [
{
"id": 107119,
"name": "向量智享"
},
{
"id": 107255,
"name": "merry部门"
}
],
"verificationSales": [
{
"id": 548622576603328,
"name": "李晨"
},
{
"id": 548622576462016,
"name": "橘子"
},
{
"id": 544022912434368,
"name": "张继圣"
}
],
"customDefine": null,
"editVersion": 1688011335318,
"psChannelName": null
}
}
修改于 2023-07-05 03:37:58