客户详情

请求地址

/api/crm/client/detail

请求头

default-product-id: 具体的产品线id值

请求方法

POST

方法说明

根据客户id获取客户的详细信息

输入信息

字段 类型 必填 说明
id bigint 数据id
mid bigint 固定值为:347772778973233152

输入示例

mid=347772778973233152&id=621730250811768832

返回信息

字段 类型 说明
item object 参考下面的返回示例
      id bigint id
      title string 数据标题
      product_line_id bigint 产品线id
      created_at datetime 创建时间
      created_id object 创建人信息
      updated_at datetime 修改时间
      updated_id object 修改人信息
      deleted_at datetime 数据删除时间
      own_id object 所属人信息
      last_own_id object 上一个所属人
      is_public int 数据是否在公海池1=是,0=否
      last_seas_at datetime 最后一次释放到公海池的时间
      move_seas_times int 公海池回收次数
      move_seas_type int 回收到公海类型 1=系统回收,2=人工释放
      last_follow_log string 最后跟进内容
      last_follow_at string 最后跟进事件
      last_deal_at datetime 最后交易时间
      last_deal_money decimal 最后交易金额
      assign_at datetime 所属人获得客户时间
      name string 客户名称
      life_cycle_id object 所属生命周期信息
      last_life_cycle_id int 上一次生命周期id
      source object 来源
      phone string 手机号
      note string 备注
      is_clue int 是否来自线索池1=是,0=否
      clue_user object 线索首次领取人
      next_follow_at datetime 下次跟进事件
      is_lock int 是否锁定1=是,0=否
      tags array 标签信息
      canedit boolean 当前登录用户是否可编辑该数据
      candelete boolean 当前登录用户是否可删除该数据
      teaminfo boolean 团队管理信息
      clue_id_unique string 第三方平台线索唯一id
      api_setting_id bigint api接口id
      api_platform string 第三方接口平台名称
      clue_ocpc_data object 线索回传数据
      clue_is_black int 线索是否在黑名单
      first_assign_diff datetime 线索首次领取时间
      first_assign_time int 线索首次领取时间和创建时间差值,单位为秒
      xxx 其他自定义字段…

返回示例

{
    "code": 200,
    "data": {
        "item": {
            "id": "621730250811768832",
            "title": "nainai",
            "created_id": {
                "id": "1",
                "name": "超级管理员",
                "avatar_url": ""
            },
            "updated_id": {
                "id": "1",
                "name": "超级管理员",
                "avatar_url": ""
            },
            "created_at": "2024-04-18 15:34:02",
            "updated_at": "2024-10-18 18:16:07",
            "own_id": {
                "id": "1",
                "name": "超级管理员",
                "avatar_url": ""
            },
            "last_own_id": [],
            "is_public": 0,
            "last_seas_at": null,
            "move_seas_times": 0,
            "move_seas_type": 0,
            "last_follow_log": null,
            "last_follow_at": null,
            "last_deal_at": null,
            "last_deal_money": null,
            "assign_at": "2024-04-18 15:34:02",
            "deleted_at": null,
            "deleted_id": [],
            "deleted_reason": null,
            "name": "nainai",
            "life_cycle_id": {
                "id": "476076223345197056",
                "name": "意向客户",
                "group_id": "356016794198081536",
                "is_active": true,
                "color": "#39b54a",
                "sort_num": 100,
                "is_default": 0
            },
            "order_money": "0.0000",
            "last_life_cycle_id": 0,
            "source": {
                "id": "641653566313857024",
                "name": "测试飞鱼",
                "group_id": "356019519744901120",
                "is_active": true,
                "color": "#606266",
                "sort_num": 100,
                "is_default": 0
            },
            "note": "",
            "phone": "",
            "is_clue": 0,
            "clue_user": [],
            "next_follow_at": null,
            "product_line_id": 1,
            "textarea_1680158327352": "",
            "select_1680162080347": [],
            "input_1680509561692": "",
            "input_1682406244377": "",
            "is_lock": 0,
            "module_1688521860850": [],
            "clue_id_unique": "",
            "api_setting_id": 0,
            "api_platform": "",
            "clue_ocpc_data": {
                "value": [],
                "display": ""
            },
            "first_assign_diff": "-",
            "first_assign_time": null,
            "clue_is_black": 0,
            "tags": [],
            "_team_info": false,
            "_can_edit": true,
            "_can_del": true,
            "_flow": false,
            "is_favorite": false,
            "_coming_free": false,
            "_left_days": 0,
            "clue_is_assign": false,
            "client_position": "list",
            "clientListAndSeas": null,
            "_flow_node_name": null,
            "_flow_status": null
        }
    },
    "message": ""
}
作者:admin  创建时间:2024-10-17 14:31
最后编辑:admin  更新时间:2024-10-19 12:15