Url
[接口服务器地址]/api/users/set_notification.html
Request Headers
Name |
必选 |
Type |
Description |
Content-Type |
true |
string |
application/json; charset=UTF-8 |
authen |
true |
string |
Authen 什么是认证码
|
appid |
true |
string |
AppID 什么是接入ID
|
timestamp |
true |
string |
Timestamp |
uid |
true |
string |
UID |
lang |
true |
string |
Language zh-cn,en-us
|
Request Body
Name |
必选 |
Type |
Description |
user_id |
true |
string |
用户ID |
no_disturbing_style |
true |
integer |
开启状态 0:免打扰关闭,1:免打扰开启,2:全天 |
no_disturbing_start |
false |
string |
免打扰开始时间 开启时必填,示例:0800 |
no_disturbing_end |
false |
string |
免打扰结束时间 开启时必填,示例:2200 |
Return
{"status":1,"code":0,"msg":"","data":{"gid":"5148f82e506811e9a45588d7f697be9a","account":"account1","no_disturbing_style":"1","no_disturbing_start":"0800","no_disturbing_end":"2200"}}