dingtalk.oapi.inspect.feedback.get (获取巡店反馈表单内容)

根据巡店任务标识获取反馈表单内容

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
task_id String 必须 xxxxxxxxxxxxxxxx 巡店任务唯一标识
form_id String 可选 xxxxxxxxxxxxxxxx 表单标识(传空值,暂时保留)

响应参数

名称 类型 示例值 描述
errmsg String illegal paramter 错误描述
errcode Number xxxx 错误码
feedback_form TopInspectFeedbackVo {...} 反馈表单
  • └ form_inst_id
  • String
  • xxxxxxxxxxxxxxxx
  • 表单唯一标识
  • └ title
  • String
  • 巡店反馈表
  • 表单标题
  • content
  • TopInspectFeedbackFormItemVO []
  • [...]
  • 表单内容
  • └ label
  • String
  • 备注
  • 表单项标题
  • └ value
  • String
  • xxx
  • 表单项的值
  • └ type
  • String
  • TextField
  • 表单项的类型
  • └ id
  • String
  • abcxxx
  • 表单项的唯一标识
  • └ biz_alias
  • String
  • remark
  • 表单项的业务别名

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
5
6
DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/topapi/inspect/feedback/get");
OapiInspectFeedbackGetRequest req = new OapiInspectFeedbackGetRequest();
req.setTaskId("xxxxxxxxxxxxxxxx");
req.setFormId("xxxxxxxxxxxxxxxx");
OapiInspectFeedbackGetResponse rsp = client.execute(req, access_token);
System.out.println(rsp.getBody());

响应示例

  • JSON示例
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
    "errmsg":"illegal paramter",
    "errcode":xxxx,
    "feedback_form":{
        "form_inst_id":"xxxxxxxxxxxxxxxx",
        "title":"巡店反馈表",
        "content":[
            {
                    "label":"备注",
                    "value":"xxx",
                    "type":"TextField",
                    "id":"abcxxx",
                    "biz_alias":"remark"
            }
        ]
    }
}

异常示例

  • JSON示例
1
2
3
4
{
    "errcode":88,
    "errmsg":"ding talk error"
}

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部