车费预估
接口说明
渠道方调用首约侧预估车费
接口地址
https:// <SQYC_DOMAIN>/carapi/partner/cpintercity/seekEstimatePrice
请求方式
POST
请求参数
与城际拼车业务的下单接口一致
返回数据
名称 | 类型 | 说明 |
---|---|---|
result | String | 0.成功。非0.失败原因编号 |
errmsg | String | 失败原因描述 |
data | object | |
data.estimatedKey | String | 预估Key |
data.estimatedAmount | BigDecimal | 预估价格 |
返回示例
{
"data": {
"estimatedKey": "PS220915131229903000",
"estimatedAmount": 100.00
},
"errmsg": "SUCCESS",
"result": 0
}