Appearance
Feedback list
GET
v1/ad/provider/feedback/:provider_id/list
Request
name | necessary | type | default | describe | ui |
---|---|---|---|---|---|
ticket_number | false | string | - | 工单号(ticket number) | |
status | false | int | - | 状态:0未处理,1已处理(status: 0 unprocessed, 1 processed) |
Response data struct
name | necessary | type | default | describe | ui |
---|---|---|---|---|---|
code | true | int | - | 错误码(error code) | |
message | true | string | - | 错误信息(error message) | |
cause | true | string | - | 错误原因(error cause) | |
details | true | object | - | 详情(details) | |
-total_size | true | int | - | 总条数(total size) | |
-list | true | array | - | 列表(list) | |
--feedback_id | true | int | - | feedback_id(反馈id) | |
--ticket_number | true | string | - | 工单号(ticket number) | |
--problem_type | true | int | - | 问题类型:1功能问题,2用户体验问题,3其他问题,4建议和需求(problem type:1 Function question, 2 User experience question, 3 Other questions, 4 Suggestions and requirements) | |
--title | true | string | - | 标题(title) | |
--priority | true | int | - | 优先级:1一般,2紧急(priority: 1 general, 2 urgent) | |
--applicant_id | true | int | - | 申请人id(applicant id) | |
--contact_email | true | string | - | 联系邮箱(contact email) | |
--provider_owner_id | true | int | - | 机构所有者id(provider owner id) | |
--provider_id | true | string | - | 机构id(provider id) | |
--status | true | int | - | 状态:0未处理,1已处理(status: 0 unprocessed, 1 processed) | |
--created_at | true | string | - | 创建时间(creation time) | |
--updated_at | true | string | - | 更新时间(update time) | |
--tag | true | array | - | 标签:1硬件缺陷,2软件缺陷,3建议,4功能需求(tag: 1 hardware defect, 2 software defect, 3 suggestion, 4 feature request) | |
--feedback_provider_detail | true | object | - | 反馈-机构-详情(feedback-provider-detail) | |
---id | true | int | - | id(id) | |
---feedback_id | true | int | - | feedback_id(反馈id) | |
---description | true | string | - | 描述(description) | |
---reply | true | string | - | 客服反馈(customer service feedback) | |
---created_at | true | string | - | 创建时间(creation time) | |
---updated_at | true | string | - | 更新时间(update time) | |
---feedback_image | true | array | - | 反馈图片(feedback image) |
Example
Url params:
v1/ad/provider/feedback/20230309070101fuy4NRBb/list
Query params:
key | value |
---|---|
status | 1 |
- Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"list": [
{
"feedback_id": 2,
"ticket_number": "APP202230404092121Q44gdOPl",
"problem_type": 1,
"title": "test title",
"priority": 1,
"applicant_id": 16,
"contact_email": "test@qq.com",
"provider_owner_id": 13,
"provider_id": "202303090701011fuy4NRBb",
"status": 0,
"created_at": "2023-04-04T09:21:21+08:00",
"updated_at": "2023-04-04T09:21:21+08:00",
"tag": [],
"feedback_provider_detail": {
"id": 2,
"feedback_id": 2,
"description": "test desc",
"reply": "",
"created_at": "2023-04-04T09:21:22+08:00",
"updated_at": "2023-04-04T09:21:22+08:00",
"feedback_image": [
"http://www.baidu.com/1.jpg",
"http://www.baidu.com/2.jpg"
]
}
},
{
"feedback_id": 1,
"ticket_number": "APP202304040284617yJRvi4xJ",
"problem_type": 1,
"title": "test title",
"priority": 1,
"applicant_id": 16,
"contact_email": "test@qq.com",
"provider_owner_id": 13,
"provider_id": "202303090701101fuy4NRBb",
"status": 0,
"created_at": "2023-04-04T08:46:18+08:00",
"updated_at": "2023-04-04T08:46:18+08:00",
"tag": [],
"feedback_provider_detail": {
"id": 1,
"feedback_id": 1,
"description": "test desc",
"reply": "",
"created_at": "2023-04-04T08:46:18+08:00",
"updated_at": "2023-04-04T08:46:18+08:00",
"feedback_image": [
"http://www.baidu.com/1.jpg",
"http://www.baidu.com/2.jpg"
]
}
}
],
"total_size": 2
}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"list": [
{
"feedback_id": 2,
"ticket_number": "APP202230404092121Q44gdOPl",
"problem_type": 1,
"title": "test title",
"priority": 1,
"applicant_id": 16,
"contact_email": "test@qq.com",
"provider_owner_id": 13,
"provider_id": "202303090701011fuy4NRBb",
"status": 0,
"created_at": "2023-04-04T09:21:21+08:00",
"updated_at": "2023-04-04T09:21:21+08:00",
"tag": [],
"feedback_provider_detail": {
"id": 2,
"feedback_id": 2,
"description": "test desc",
"reply": "",
"created_at": "2023-04-04T09:21:22+08:00",
"updated_at": "2023-04-04T09:21:22+08:00",
"feedback_image": [
"http://www.baidu.com/1.jpg",
"http://www.baidu.com/2.jpg"
]
}
},
{
"feedback_id": 1,
"ticket_number": "APP202304040284617yJRvi4xJ",
"problem_type": 1,
"title": "test title",
"priority": 1,
"applicant_id": 16,
"contact_email": "test@qq.com",
"provider_owner_id": 13,
"provider_id": "202303090701101fuy4NRBb",
"status": 0,
"created_at": "2023-04-04T08:46:18+08:00",
"updated_at": "2023-04-04T08:46:18+08:00",
"tag": [],
"feedback_provider_detail": {
"id": 1,
"feedback_id": 1,
"description": "test desc",
"reply": "",
"created_at": "2023-04-04T08:46:18+08:00",
"updated_at": "2023-04-04T08:46:18+08:00",
"feedback_image": [
"http://www.baidu.com/1.jpg",
"http://www.baidu.com/2.jpg"
]
}
}
],
"total_size": 2
}
}