1. 新增或修改日程

接口名称 保存日程
请求地址 http://qy-ci.fdccloud.com/api/wzs/save-schedule?access_token=@access_token
请求方式 POST(HTTPS)

请求包结构

{
    "__language__": "zh-CN",
    "platform": 2,
    "schedule": {
        "id":0,
        "app_code": "20005",
        "content": "日程内容",
        "end_time": "2020-12-15 11:00",
        "is_select_all_day": 0,
        "notice_type": 1,
        "open_url": "",
        "repeat_freq": "",
        "repeat_interval": 0,
        "repeat_type": 0,
        "start_time": "2020-12-15 10:00"
    },
    "tenant_id": "my56a9c966df069",
    "version_name": "4.0.6",
    "wzs_user_id": "wzs5f5985f185604096950085"
}
参数 类型 描述
__language__ string 当前语言
version_name string 云助手APP版本号
platform number 平台1-ios;2-Android
tenant_id string 租户id
wzs_user_id string 云助手用户ID
app_code string 应用code
id int 日程id,创建时传0,修改时传对应日程id
content string 日程内容
start_time string 日程开始时间
end_time string 截止时间
is_select_all_day number 是否选择全天;0-关闭;1-打开
notice_type number 提醒方式;
当is_select_all_day=0时
0-不提醒,1-日程开始时,2-提前5分钟,3-提前15分钟,4-提前30分钟,5-提前1小时,6-提前1天
当is_select_all_day=1时
7-1天前,8-2天前,9-一周前
open_url string 点击打开的地址
repeat_freq string 重复规则类型;weekday-以工作日为间隔单位,daily-以天为间隔,weekly- 以周为间隔单位,monthly-以月为间隔单位,yearly-以年为间隔单位进行重复
repeat_interval number 重复规则的间隔;0-不重复1-每个工作日或每天或每周或每月或每年2-每两周
repeat_type number 重复方式;0-不重复;1-每个工作日(周一至周五);2-每天;3-每周;4-每两周;5-每月;6-每年;7-自定义

返回结果

{
    "data": {
        "code": 1,
        "id": "283",
        "message": "ok"
    },
    "success": 1
}
参数 类型 描述
code number 当前接口逻辑结果1-成功;非1-错误
message string
success number 1-接口请求成功,非1-失败
id string 日程id

results matching ""

    No results matching ""