该接口用于第三方人工回访后,获取工单对应的问卷填写后的详情信息
请求方式: GET
请求路径:
https://prod.open-api.mysre.cn/third-visit/get-questionnaire-info
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| o | query | string | 是 | retesting | 对应云服务租户号 | |
| business_id | query | string | 是 | rg0120220428174212396 | 工单id |
get /third-visit/get-questionnaire-info?o=retesting&business_id=rg0120220428174212396
{
"errcode" : 0 ,
"errmsg" : "ok" ,
"data" : {
"id" : "3a0381f9-7734-9645-e6ff-68a1c04c097f" ,
"questionnaire_id" : "3a0334d7-c5d8-cbf1-c9cd-3de0cfad57cd" ,
"answer_on" : "2022-04-28 18:52:02" ,
"answer_user" : "22b11db4-e907-4f1f-8835-b9daab6e1f23" ,
"answer_user_name" : "超级用户retesting" ,
"name" : "多指标关联多题" ,
"type" : "自定义" ,
"slogan" : "感谢您能抽出几分钟时间来参加本次答题,现在我们就开始吧!" ,
"app_code" : "CustomerService" ,
"is_hide_num" : "0" ,
"detail_type" : "answer_questionnaire" ,
"questions" : [
{
"id" : "3a0381f9-7739-7add-4db8-4660ffddfcee" ,
"parent_id" : "" ,
"answer_questionnaire_id" : "3a0381f9-7734-9645-e6ff-68a1c04c097f" ,
"question_id" : "3a0334d6-ddc3-f9b8-5183-d4ac696073d4" ,
"answer" : "111" ,
"name" : "单选关联指标" ,
"is_system" : "0" ,
"type" : "radio" ,
"is_required" : "1" ,
"is_show_to_owner" : "1" ,
"sort" : "1" ,
"max_option" : "0" ,
"dissatisfied_reason_threshold" : "3" ,
"options" : [
{
"id" : "3a0381f9-7739-4011-1782-75e24223dc1e" ,
"answer_question_id" : "3a0381f9-7739-7add-4db8-4660ffddfcee" ,
"option_id" : "3a0334d6-de04-ed0c-8182-7e6de91236d3" ,
"is_select" : "1" ,
"remark" : "" ,
"name" : "111" ,
"has_input" : "0" ,
"score" : "3" ,
"sort" : "1"
} ,
{
"id" : "3a0381f9-7739-9199-4608-dcd8de0f2cb5" ,
"answer_question_id" : "3a0381f9-7739-7add-4db8-4660ffddfcee" ,
"option_id" : "3a0334d6-de05-87bb-1c4f-ec014856387a" ,
"is_select" : "0" ,
"remark" : "" ,
"name" : "222" ,
"has_input" : "0" ,
"score" : "5" ,
"sort" : "2"
}
] ,
"question_target" : {
"id" : "3a0381f9-7739-4b80-29c1-7e08fcb6c6b1" ,
"answer_question_id" : "3a0381f9-7739-7add-4db8-4660ffddfcee" ,
"target_id" : "39fa7949-9416-6436-5982-6b8c0cc5f024" ,
"target_name" : "总体满意度" ,
"score" : "3"
}
} ,
{
"id" : "3a0381f9-7739-92c1-c462-180bba394448" ,
"parent_id" : "" ,
"answer_questionnaire_id" : "3a0381f9-7734-9645-e6ff-68a1c04c097f" ,
"question_id" : "3a0334d7-4e59-e6d3-5659-2d27490e5327" ,
"answer" : "2222" ,
"name" : "多选题" ,
"is_system" : "0" ,
"type" : "checkbox" ,
"is_required" : "1" ,
"is_show_to_owner" : "1" ,
"sort" : "2" ,
"max_option" : "0" ,
"dissatisfied_reason_threshold" : "3" ,
"options" : [
{
"id" : "3a0381f9-7739-a2ec-b216-03edb97ccda3" ,
"answer_question_id" : "3a0381f9-7739-92c1-c462-180bba394448" ,
"option_id" : "3a0334d7-4e9d-3a21-0eb8-5852cd147340" ,
"is_select" : "0" ,
"remark" : "" ,
"name" : "1111" ,
"has_input" : "0" ,
"score" : "0" ,
"sort" : "1"
} ,
{
"id" : "3a0381f9-7739-e161-ba32-4565096d343e" ,
"answer_question_id" : "3a0381f9-7739-92c1-c462-180bba394448" ,
"option_id" : "3a0334d7-4e9d-ddc6-c4d2-bdfdd8ddf284" ,
"is_select" : "1" ,
"remark" : "" ,
"name" : "2222" ,
"has_input" : "0" ,
"score" : "0" ,
"sort" : "2"
}
]
} ,
{
"id" : "3a0381f9-7739-0771-1329-753987641095" ,
"parent_id" : "" ,
"answer_questionnaire_id" : "3a0381f9-7734-9645-e6ff-68a1c04c097f" ,
"question_id" : "3a0334d7-75b7-e995-4160-93f4cff3119f" ,
"answer" : "4" ,
"name" : "打分题关联指标" ,
"is_system" : "0" ,
"type" : "score" ,
"is_required" : "1" ,
"is_show_to_owner" : "1" ,
"sort" : "3" ,
"max_option" : "0" ,
"dissatisfied_reason_threshold" : "3" ,
"question_target" : {
"id" : "3a0381f9-773a-258a-3898-ec863e2d1350" ,
"answer_question_id" : "3a0381f9-7739-0771-1329-753987641095" ,
"target_id" : "39fa7949-9416-6436-5982-6b8c0cc5f024" ,
"target_name" : "总体满意度" ,
"score" : "4"
}
}
]
}
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | 返回编码(0:代表成功; 非0代表失败) |
| errmsg | string | 调用失败原因 |
| data | object | 数据集合 |
{"errcode":"10015","errmsg":"o参数不能为空"}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | string | 返回编码(0:代表成功;非0代表失败) |
| errmsg | string | 调用失败原因 |