有空接口说明文档

最后更新: Oct 1,2018

#1311#[公共]发布日历

接口地址

环境 地址

正式环境

https://open.atimer.cn/v1/allinone/publishcalendar

沙箱环境

https://sandbox.atimer.cn/v1/allinone/publishcalendar

 

入参规范

名称 类型 必须 描述

Client

Client

系统参数,开发者调用接口客户端信息

CalendarPack

CalendarPack

日历与事件列表

 

出参规范

{

       Success: true,

       Error: {

              // 包含 code 和 Description

 },

       Data: {

              // 下表解释

       }

}

名称 类型 描述

Data

bool

发布是否成功

 

范例

请求:

{"CalendarPack":{"Calendar":{"Identity":0,"CalendarName":"发布公共日历","CalendarReadonly":false,"CalendarPrimary":false,"IsPublic":true,"UpdateTime":"0001-01-01T00:00:00.0000000Z","Selected":false,"EventCount":0,"SubscribedCount":0,"IsCreator":false,"IsSubscriber":false},"Events":[{"Identity":0,"Summary":"三天后公共事件","Description":"三天后公共事件DESC","IsAllDay":true,"Start":{"Time":"2019-12-11T06:12:42Z","Tzid":"UTC"},"End":{"Time":"2019-12-11T06:12:42Z","Tzid":"UTC"},"Publish":false,"IsCreator":false,"IsAttendee":false,"CreateTime":"0001-01-01T00:00:00.0000000Z"}]},"Client":{"ClientKey":"WTpnUYbmA00WoTuI","Timestamp":"1575785562","Sign":"1ec3964fa949a3b05cc64ee57752f13f","UserCode":"oCeNz0mEQnmQgEVo5Z2JEJpybxgs"}}

响应:

{"Success":true,"Error":null,"Data":null}

执行耗时 823 毫秒