获取标签列表

参数

参数名 必选 类型 说明
cmd string 请求方法
user_id string 当前客户端的用户ID

请求参数示例

{
  "cmd":"GetLabelList",
  "user_id":"168xxxxxxx",
  "request_key":"",
  "params": {}
}

回调参数详解

参数名 类型 说明
type int 标签类型:1企业标签 2个人标签
super_id string 父级标签id,0为最上级的标签
name string 标签名称
level int 标签等级:1为子标签 2为父标签
label_id string 标签id
create_time int 标签创建时间

回调结果示例

{
    "type":12504,
    "cmd_type":"GetLabelList",
    "user_id":"168xxxxxxxxx",
    "request_key":"",
    "data":[
        {
            "create_time":1597197709,
            "label_id":"14073750536604700",
            "level":2,
            "name":"客户等级",
            "super_id":"0",
            "type":1
        },
        {
            "create_time":1597197709,
            "label_id":"14073750536604701",
            "level":1,
            "name":"一般",
            "super_id":"14073750536604700",
            "type":1
        },
        {
            "create_time":1597197709,
            "label_id":"14073750536604702",
            "level":1,
            "name":"重要",
            "super_id":"14073750536604700",
            "type":1
        },
        {
            "create_time":1597197709,
            "label_id":"14073750536604703",
            "level":1,
            "name":"核心",
            "super_id":"14073750536604700",
            "type":1
        },
        {
            "create_time":1632910567,
            "label_id":"14073750946685703",
            "level":1,
            "name":"啊啊啊",
            "super_id":"14073752094604218",
            "type":2
        },
        {
            "create_time":1597197709,
            "label_id":"14073752094604218",
            "level":2,
            "name":"个人标签",
            "super_id":"0",
            "type":2
        }
    ]
}
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2022-08-06 23:28:47

results matching ""

    No results matching ""