简要描述:

  • 策略详情

请求域名:

  • http://xx.com

请求URL:

POST/xx.com/business/{公众号id}/plugin/CustomerManage/PloyManage/details

参数:

参数名 是否必须 类型 说明
ploy_id int 策略id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "ploy": {
            "id": 5,
            "uniacid": 1,
            "business_id": 1,
            "owner_id": 1,
            "name": "院属类思业议",
            "staff_id": 3,
            "source_id": 1,
            "industry_id": 1,
            "progress_id": 1,
            "created_at": "2023-07-05 10:18:24",
            "updated_at": "2023-07-05 10:18:24",
            "deleted_at": null,
            "status": 1,
            "staff": {
                "id": 3,
                "name": "创始人",
                "userid": null,
                "avatar_mediaid": null
            },
            "relation_tag": [
                {
                    "tag_id": 1,
                    "ploy_id": 5,
                    "tag": {
                        "id": 1,
                        "name": "铜牌一号"
                    }
                }
            ],
            "relation_tag_group": [
                {
                    "group_id": "etDesSDgAAgxPK4ZV9R6whR-HznwfJGw",
                    "ploy_id": 5,
                    "group": {
                        "group_id": "etDesSDgAAgxPK4ZV9R6whR-HznwfJGw",
                        "group_name": "银牌"
                    }
                },
                {
                    "group_id": "etDesSDgAAgSPK4ZV9R6whR-HznwfJGw",
                    "ploy_id": 5,
                    "group": {
                        "group_id": "etDesSDgAAgSPK4ZV9R6whR-HznwfJGw",
                        "group_name": "金牌"
                    }
                }
            ]
        }
    }
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }

返回参数说明:

参数名 类型 说明
ploy.namg string 策略名称
ploy.staff_id int 目标成员
ploy.source_id int 员工id
ploy.industry_id int 行业id
ploy.progress_id int 进展id
ploy.status int 0关闭,1开启
ploy.relation_tag array 标签id
ploy.relation_tag_group array 标签组id

备注:

  • 更多返回错误代码请看首页的错误代码描述