紧急联系人操作
正式环境
https://api.xiaojukeji.com/
正式环境
https://api.xiaojukeji.com/
POST
/gulfstream/gs-openapi/v1/safe/contacter
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaojukeji.com//gulfstream/gs-openapi/v1/safe/contacter?XDEBUG_SESSION_START=16822' \
--header 'authorization: Bearer test|didi81673C87BE13734F820ADA13E10ACE59183B3BB4F077DCE1FB91D8271181FCC8B319EB33214E33368AF88762DEACD2C1B77B8191A3AD0F7E74C41ED29D1FF143' \
--header 'Authorization;' \
--header 'content-type: application/json' \
--data-raw '{"client_uid":"12sss34445","phone":"11100011296","contacters":[
{
"name": "张三",
"countryCode": "86",
"phone": "11100011291",
"isAuto": false,
"queryAuth": 0,
"distance": 100,
"shareStartTime": "06:00",
"shareEndTime": "22:00"
},
{
"name": "李四",
"countryCode": "86",
"phone": "11100011292",
"isAuto": false,
"queryAuth": 0,
"distance": 100,
"shareStartTime": "06:00",
"shareEndTime": "22:00"
}
]}'
响应示例响应示例
{
"error": "string",
"error_detail": "string"
}
请求参数
Query 参数
XDEBUG_SESSION_START
string
必需
示例值:
16822
Header 参数
authorization
string
必需
示例值:
Bearer test|didi81673C87BE13734F820ADA13E10ACE59183B3BB4F077DCE1FB91D8271181FCC8B319EB33214E33368AF88762DEACD2C1B77B8191A3AD0F7E74C41ED29D1FF143
content-type
string
必需
示例值:
application/json
Authorization
string
必需
默认值:
Bearer domain|{{access_token}}
Body 参数application/json