拼友自动接单
拼友自动接单
1\. 拼友自动接单接口
---
**1\. 拼友自动接单**
###### 接口功能
> 拼友自动接单
###### URL
> [http://api.uuuda.com/order/make](http://api.uuuda.com/order/make)
###### 支持格式
> JSON
###### HTTP请求方式
> POST
###### 请求参数
> |参数|必选|类型|说明|
|:----- |:-------|:-----|----- |
|token |ture |string|用户身份码 |
|tripNo |true |string|下单对应的行程No|
|passengerNum |true |int|座位数|
|stations |true |string|起始点信息|
|getonDetail |true |string|上车地点|
|getoffDetail |true |string|下车地点|
###### 返回字段
> |返回字段|字段类型|说明 |
|:----- |:------|:----------------------------- |
|errno |int |返回结果状态。0:正常;1:错误。 |
|msg |string |提示文案 |
|data |string |返回内容 |
|reqid |string |请求的唯一编号 |
###### 返回结果
```json
成功:{
"errno": 200,
"msg": "下单成功",
"data": {
"id": 196384,
"orderNo": "U2020041012223810151989",
"tripId": 165585,
"userId": 43229,
"departTime": 1586513100,
"driverId": 24402,
"getonAddr": {
"name": "悠乐汇",
"address": "望京园610号",
"location": "116.476671,39.989618",
"pname": "北京市",
"cityname": "北京市",
"adname": "朝阳区",
"businessarea": "望京"
},
"getoffAddr": {
"name": "怀柔汽车站",
"address": "县府前东街2号",
"location": "116.647025,40.316526",
"pname": "北京市",
"cityname": "北京市",
"adname": "怀柔区",
"businessarea": "泉河"
},
"passengerNum": 1,
"price": 5,
"insurancePrice": 0.8,
"totalPrice": 5.8,
"driverIncome": 5,
"status": 7,
"propPayAmount": 0,
"balancePayAmount": 5.8,
"onlinePayAmount": 0,
"payNo": "",
"payStatus": 2,
"propCodeId": 0,
"cTime": "2020-04-10 12:22:38",
"finishTime": null,
"payTime": "2020-04-10 12:36:02",
"insuranceNo": "887607834222",
"getonDetail": "哈哈哈",
"getoffDetail": "123",
"payRemindTime": null,
"arriveUser": 0,
"evaluateCustomerMsg": "",
"evaluateMsg": "",
"customerCancleReason": "",
"cancleReason": "",
"evaluateCustomerScore": 0,
"evaluateScore": 0,
"tripType": 1,
"payTimeoutTime": "2020-04-10 12:37:38",
"payAddr": null,
"onCarAddr": "北京海科商务中心",
"completeAddr": null,
"driverArriveTime": null,
"passengerGetonTime": null,
"passengerTraces": null,
"channel": 0,
"cancleCount": "0"
},
"reqid": "b0493aab33ac779df927a8b06c6a3a70"
}
失败:{
"errno": 500,
"msg": "系统错误",
"data": null,
"reqid": "97f9a1cf6dc155f36ff1e542c497a043"
}