线下测试环境司机自动化接单
正式环境
正式环境
GET
/v1/test/orderPush
{
"message":"please wait 1min for accepting"
}
{"message": "order pushing processing (arrived)..."}
{"message": "order pushing processing (charging)..."}
{"message": "order pushing processing (finished)..."}
{"message": "order pushing processing (canceled)..."}
1.
2.
3.
4.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.xiaojukeji.com//v1/test/orderPush?didi_oid=didi_oid&status=accepted' \
--header 'Authorization: bearer test@test|{access_token}' \
--header 'Authorization;' \
--header 'Content-Type: application/x-www-form-urlencoded'
响应示例响应示例
{
"message": "string"
}
请求参数
Query 参数
didi_oid
string
订单id
示例值:
didi_oid
status
string
必需
示例值:
accepted
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Authorization
string
必需
示例值:
bearer test@test|{access_token}
undefined
string
可选
返回响应
修改于 2021-11-23 06:05:15