获取线索退回原因

最后更新:2025/01/15

企业可通过此接口,根据字段key类型,拉取字段参数

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/customfield/listFieldParamsByFieldKeys

参数说明:

参数 类型 必填 说明
access_token string 调用接口凭证
field_keys array 字段KEY集合:
退回原因: recoveryRemarkType

参数示例:

{
    "field_keys": [
        "recoveryRemarkType"
    ]
}

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "recoveryRemarkType": [
      {
        "id": "1878709560395488897",
        "name": "手xxxxx",
        "value": "f6e6725b",
        "children": [
          {
            "id": "1878709560395488898",
            "name": "空1",
            "value": "b0e19fc8",
            "children": [
              {
                "id": "1878709560395488899",
                "name": "空11",
                "value": "20360bfd",
                "children": [],
                "param_type": 0,
                "sort": 0
              }
            ],
            "param_type": 0,
            "sort": 0
          }
        ],
        "param_type": 0,
        "sort": 0
      },
      {
        "id": "1878709560395488905",
        "name": "无意向",
        "value": "08577453",
        "children": [],
        "param_type": 0,
        "sort": 1
      },
      {
        "id": "1878709560395488906",
        "name": "已购买其他产品",
        "value": "ab8feb4d",
        "children": [],
        "param_type": 0,
        "sort": 2
      },
      {
        "id": "1877196991050579330",
        "name": "自动回收",
        "value": "5",
        "children": [],
        "param_type": 0,
        "sort": 99999
      },
      {
        "id": "1878727312103497347",
        "name": "其他(用户手动输入)",
        "value": "6",
        "children": [],
        "param_type": 1,
        "sort": 100000
      }
    ]
  },
  "sub_code": "00000"
}

返回说明:

参数 类型 说明
code int 出错返回码,为0表示成功,非0表示调用失败
msg string 返回码描述
data Map 自定义字段参数信息
  id long 参数id
  name string 参数名
  value string 参数value
  children List 下级参数
  param_type int 参数类型, 0 普通字段, 1 支持填写其他文本
  sort int 排序

results matching ""

    No results matching ""