安全中心面板-获取报警信息
正式环境
https://api.xiaojukeji.com/
正式环境
https://api.xiaojukeji.com/
GET
/v1/safe/center
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.xiaojukeji.com//v1/safe/center?client_uid={client_uid}&phone={phone}' \
--header 'Authorization;' \
--header 'Content-Type: application/x-www-form-urlencoded'
响应示例响应示例
{
"tools_list": [
{
"id": 0,
"title": "string",
"action_desc": "string",
"status_desc": "string",
"show_frame": true
}
],
"links": {
"travel_sharing_link": "string",
"alarm_link": "string"
},
"notice": {
"id": "string",
"title": "string",
"desc": "string"
}
}
请求参数
Query 参数
client_uid
string
必需
示例值:
{client_uid}
phone
string
乘客手机号码
示例值:
{phone}
didi_oid
string
订单ID类型
示例值:
{didi_oid}
oid_type
string
可选
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Authorization
string
必需
默认值:
Bearer domain|{{access_token}}