更新用户设置

更新用户设置

1. 接口描述

接口名称:

/confopenapi/common/user/settings/update

发送方式:

POST

参数格式:

accept: application/json;content-type: application/json

2. 输入参数

Http Header

参数名 必选 类型 说明
token 接口调用鉴权参数

Http Body

参数名 必选 类型 说明
userId int 全时用户ID
interests JSON 权益项

interests

参数名 必选 类型 说明
templateConference Int 0:不开通 1:开通
liveService Int 0:不开通 1:开通
aiSpeakWorld Int 0:不开通 1:开通
chinaTelephone Int 0:不开通 1:开通
InternationalTelephone Int 0:不开通 1:开通
subtitles Int 0:不开通 1:开通

请求示例

{
    "userId": 1000,
    "interests": {
        "templateConference": 1,
        "liveService": 1,
        "aiSpeakWorld": 1,
        "chinaTelephone": 1,
        "InternationalTelephone": 1,
        ”subtitles":1
    }
}

4. 返回参数

参数名 类型 说明
status int 0:成功,非0失败
result JSON 预约会议返回的结果
msg string 消息

result参数说明

暂时为空JSON

返回示例

{
    "status": 0,
    "result": {

    },
    "msg": "GetUserPrivilege SUCCESS",
    "request_id": "confopenapiserver-172.10.5.226-1719310027.583075252.81",
    "timestamp": 1719310027583,
    "request_duration": "574.849949ms"
}

备注

  • 更多返回错误代码请看首页的错误代码描述