- api-passenger
- service-verificationCode
- service-passenger-user
- service-price
- service-map
- service-driver-user
- api-boos
- api-driver
- service-order
- service-sse-push
创建订单
开发中
POST
/order/add
请求参数
Body 参数application/json
address
string
下单行政区域
departTime
string
出发时间
orderTime
string
下单时间
departure
string
出发地址
depLongitude
string
出发经度
depLatitude
string
出发纬度
destination
string
目的地地址
destLongitude
string
目的地经度
destLatitude
string
目的地纬度
encrypt
integer
坐标加密标识
fareType
string
运价类型编码
fareVersion
integer
运价版本
deviceCode
string
请求设备唯一码
passengerId
integer
乘客id
passengerPhone
string
乘客电话号码
示例
{
"address": "string",
"departTime": "string",
"orderTime": "string",
"departure": "string",
"depLongitude": "string",
"depLatitude": "string",
"destination": "string",
"destLongitude": "string",
"destLatitude": "string",
"encrypt": 0,
"fareType": "string",
"fareVersion": 0,
"deviceCode": "string",
"passengerId": 0,
"passengerPhone": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/order/add' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
示例
{
"code": 0,
"message": "string"
}
修改于 2022-11-30 12:38:37