总包订单费用调整原因查询接口
查询子订单费用调整原因
接口名称 | 备注 |
---|---|
接口类型 | HTTP POST |
接口格式 | application/json;charset=UTF-8 |
线上地址 | https://openapi.wanshifu.com/prod/prod/user-order-open-api/user-open/order/subOrder/getAdjustFeeReason |
测试地址 | https://openapi.wanshifu.com/pre-release/test/user-order-open-api/user-open/order/subOrder/getAdjustFeeReason |
接口说明 | 查询子订单费用调整原因 |
是否加密 | 是 |
业务参数
字段名称 | 字段说明 | 字段类型 | 是否必传参数 |
---|---|---|---|
initiateTypes | 发起方类型固定传:teamToUser | String | 是 |
返回信息
字段名称 | 字段说明 | 字段类型 |
---|---|---|
retCode | 错误码 | Integer |
retData | 处理返回数据 | Object |
retMsg | 错误描述 | String |
retData业务参数说明
字段名称 | 字段类型 | 字段说明 |
---|---|---|
chargeMethod | string | 收费方式 |
chargeNeed | string | 是否需要收费(yes:需要收费, no:不需要收费) |
chargeType | string | 费用类型(serve:服务费, behalf:代付费) |
feeReasonDesc | string | 费用原因说明,如:空跑费30元 |
feeReasonName | string | 费用原因名称,如:空跑费 |
id | long | 费用原因id |
initiateType | string | 发起增减费用方式类型,默认:teamToUser |
isMustUploadPicture | string | 是否必传照片。0否,1是 |
reasonKind | string | 原因类型(increased:增加费用, reduce:减少费用) |
showStage | string | 展示阶段(door_before:上门签到前, serving:服务中, serve_complete:服务完成) |
status | int | 状态(0正常 1禁用) |
updateTime | long | 更新时间 |
createTime | long | 创建时间 |
成功示例
{
"code":"200",
"msg":"成功",
"retCode":"200",
"retData":[
{
"chargeMethod":"{}",
"chargeNeed":"no",
"chargeType":"serve",
"createTime":1626266838000,
"feeReasonDesc":"不需要搬楼",
"feeReasonName":"不需要搬楼",
"id":18,
"initiateType":"teamToUser",
"isMustUploadPicture":false,
"reasonKind":"reduce",
"showStage":"door_before",
"status":0,
"updateTime":1631106750000
},
{
"chargeMethod":"{}",
"chargeNeed":"no",
"chargeType":"serve",
"createTime":1626266926000,
"feeReasonDesc":"不需要远程费",
"feeReasonName":"不需要远程费",
"id":19,
"initiateType":"teamToUser",
"isMustUploadPicture":false,
"reasonKind":"reduce",
"showStage":"door_before",
"status":0,
"updateTime":1631106751000
}
],
"retMsg":"成功"
}
失败示例
{
"retCode": 500,
"retData": null,
"retMsg": ""
}
修改于 2023-04-01 08:32:18