1.用途
采用Post方式,请求参数为JSON格式
2.URL
http://124.223.60.234:8181/spartan/fence/updateFenceConfig
3.请求参数
3.1.参数示例
{
"fenceId":"C01DAFA67C7648B082371CA15785EC93",
"leaveAlert":1,
"leaveNotification":"",
"leaveNotifyEmail":0,
"arrivalAlert":1,
"arrivalNotification":"",
"arrivalNotifyEmail":0,
"email":"571521973@qq.com",
"terminalIds":["589D6C6B4678434FB962971BA8513432","5FAEC559FA18489B97581877FD7FA29B"],
"userId":"21"
}
3.2.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
fenceId | String | fence Id | Y |
String | Email地址 | Y | |
leaveAlert | int | 离开围栏通知(0:否;1:是) | Y |
leaveNotification | String | 离开围栏通知内容 | Y |
leaveNotifyEmail | int | 离开围栏是否进行邮件通知(0:否;1:是) | Y |
arrivalAlert | int | 到达围栏通知(0:否;1:是) | Y |
arrivalNotification | String | 到达围栏通知内容 | Y |
arrivalNotifyEmail | int | 到达围栏是否进行邮件通知(0:否;1:是) | Y |
userId | String | 用户的唯一标识 | Y |
terminalIds | List | 终端唯一标识集合 | Y |
4.返回参数
4.1.返回参数示例
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
4.2.返回参数说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态,详情参见“返回状态集” |
message | String | 返回结果描述 |
data | Object | 返回结果体 |
5.测试示例
作者:admin 创建时间:2023-03-23 17:50
最后编辑:admin 更新时间:2024-06-13 09:41
最后编辑:admin 更新时间:2024-06-13 09:41