用于线路下单前业务校验
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
adultCount | Number | 必须 | 1 | 成人数量 | |
outProjectId | String | 必须 | 1234 | 外部团期id | |
totalFee | Number | 必须 | 100 | 订单总金额(单位分) | |
childCount | Number | 必须 | 2 | 儿童数量 | |
productPriceList | ProductPriceList [] | 必须 |
|
价格明细列表 | |
|
|||||
salesChannel | String | 必须 | WEB | 分销渠道(见api定义) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Data | 数据模型 | |
|
|||
success | Boolean | true | 服务调用是否成功 true-成功 false-失败 |
errCode | String | 123 | 失败情况下错误码 |
errMsg | String | dsada | 失败情况下错误信息 |
{"adultCount":1,"totalFee":100,"outProjectId":"1234","childCount":2,"productPriceList":[{"promotionPrice":0,"salePrice":200,"price":100,"priceType":1,"priceName":"成人"}],"salesChannel":"WEB"}
{ "data":{ "validateSuccess":true, "refuseReason":"refuse" }, "success":true, "errCode":"123", "errMsg":"dsada" }
{"success":"false","errCode":"sign-check-failure","errMsg":"Illegal request"}
错误码 | 错误描述 | 解决方案 |
---|---|---|
response-body-parse-error | ||
isp.http-connection-refuse | ||
isp.http-read-timeout |