Appearance
获取单个信息采集结果
| 拥有此API的权限集 |
|---|
| 信息采集/表单管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.information.form.result.get/1.0.0 - 频率限制:
10秒500次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| form_id | 是 | string | 信息采集表单ID |
| resource_id | 否 | string | 商品ID(注意:信息采集只有在“支付前”和“支付后”两种场景中支持商品ID搜索,其他场景未必有绑定在某个具体商品上,请根据自己使用场景按需传参) |
| collect_start_time | 否 | string | 信息采集表单创建时间段的起始时间,缺省为不限制开始时间。格式为:yyyy-MM-dd HH:mm:ss,如2020-01-07 12:00:00 |
| collect_end_time | 否 | string | 信息采集表单创建时间段的结束时间,缺省为不限制结束时间。格式为:yyyy-MM-dd HH:mm:ss,如2020-01-07 12:00:00 |
| page | 是 | int | 页码,表示第几页,从1开始 |
| page_size | 是 | int | 每页条数,最大50条 |
请求示例
{
"access_token": "xe_xxxxx",
"form_id": "in_xxx",
"resource_id": "i_xxx",
"collect_start_time": "2020-01-07 12:00:00",
"collect_end_time": "2020-01-07 12:00:00",
"page": 1,
"page_size": 3
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码,0表示成功,其他为错误 |
| msg | string | 对返回码的文本描述内容 |
| data | object | 采集结果 |
采集结果data
| 参数名 | 类型 | 说明 |
|---|---|---|
| total | int | 信息采集表单总数 |
| collection_list | array | 采集结果列表(数组) |
| collection_list[].id | int | 采集结果ID |
| collection_list[].resource_id | string | 资源ID |
| collection_list[].user_id | string | 采集结果用户ID |
| collection_list[].user_nickname | string | 采集结果用户昵称 |
| collection_list[].collect_time | string | 采集时间 |
| collection_list[].extra | string | 采集结果 |
| collection_list[].form_id | string | 表单ID |
| collection_list[].form_name | string | 表单名称 |
| collection_list[].resource_name | string | 资源名称 |
返回示例
{
"code": 0,
"msg": "success",
"data": {
"collection_list": [
{
"id": 207878371,
"resource_id": "l_60ffbf7ce4b0cce271b6cff2",
"user_id": "u_5ccxx54u",
"form_id": "in_axxV",
"user_nickname": "手机尾号5070",
"collect_time": "2021-07-27 16:22:20",
"form_name": "测试AI采集",
"resource_name": "xxxx",
"extra":""
},
{
"id": 207877528,
"resource_id": "l_60ffbf7ce4b0cce271b6cff2",
"user_id": "u_xxwK",
"form_id": "in_axxvVHV",
"user_nickname": "xx",
"collect_time": "2021-07-27 16:11:50",
"form_name": "xx",
"resource_name": "xxxx",
"extra":""
}
],
"total": 2
}
}备注
- 更多返回错误代码请看常见问题全局返回码