| 接口名称 | 备注 |
|---|---|
| 接口类型 | HTTP POST |
| 接口格式 | application/json;charset=UTF-8 |
| 线上地址 | https://openapi.wanshifu.com/prod/prod/user-order-open-api/user-open/order/complaint/apply |
| 测试地址 | https://openapi.wanshifu.com/pre-release/test/user-order-open-api/user-open/order/complaint/apply |
| 是否加密 | 是 |
| 字段名称 | 字段说明 | 字段类型 | 是否必传参数 |
|---|---|---|---|
| licenseId | 第三方用户授权码 | String | 是 |
| orderNo | 订单编号 | String | 是 |
| toAccountId | 投诉师傅id | Long | 是 |
| complaintTypeId | 投诉类型id | Integer | 是,类型见获取投诉类别接口 |
| complaintContent | 投诉内容 | String | 否 |
| imageUrls | 投诉图片,多个用逗号分隔 | String | 图片、视频、语音、必传其一 |
| videoUrls | 投诉视频,多个用逗号分隔 | String | 图片、视频、语音、必传其一 |
| audioUrls | 投诉语音,多个用逗号分隔 | String | 图片、视频、语音、必传其一 |
| imageUrlType | imageUrls图片类型 ,1:需要下载 | String |
| 字段名称 | 字段说明 | 字段类型 |
|---|---|---|
| retCode | 错误码 | Integer |
| retData | 处理返回数据 | Object |
| retMsg | 错误描述 | String |
| businessStatus | 业务状态1成功0失败 | Integer |
| complaintId | 投诉id | Long |
{
"retCode": "200",
"retData": {
"businessStatus": 1,
"complaintId":12345
},
"retMsg": "成功"
}{
"retCode": 500,
"retData": null,
"retMsg": ""
}