对司机进行评分,只有订单结束后,才能进行。
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| orderId | String | 必须 | 4880109188406595918 | 要确认支付的订单号 | |
| traceId | String | 可选 | 1111 | 建议必填,本次请求的标识,用于异常记录、追踪。由上层调用方填充,如果上层调用方不填充则默认使用eagleTraceId | |
| channelId | String | 可选 | 20001 | 服务商渠道id,运营配置后提供 | |
| level | Number | 可选 | 1 | 司机评分 星级(1-5) | |
| comment | String | 必须 | 态度很好 | 司机评价最多40个汉字 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| success | Boolean | true | 接口调用是否成功 |
| errorInfo | ErrorInfo | 错误信息 | |
|
{"traceId":"1111","orderId":"4880109188406595918","level":1,"comment":"态度很好","channelId":"20001"}
{
"success":true,
"errorInfo":{
"errorCode":"0",
"errorMessage":"请求成功"
}
}
{"success":"false","errorInfo":{"errorMessage":"Illegal request","errorCode":"sign-check-failure"}}
| 错误码 | 错误描述 | 解决方案 |
|---|