有空接口说明文档

最后更新: Oct 1,2018

#1312#[公共]获取应用日历

接口地址

环境 地址

正式环境

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

沙箱环境

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

 

入参规范

名称 类型 必须 描述

Client

Client

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

 

出参规范

{

       Success: true,

       Error: {

              // 包含 code 和 Description

 },

       Data: {

              // 下表解释

       }

}

名称 类型 描述

Data

CalendarPack []

有空日历包集合

 

范例

请求:

{"Client":{"ClientKey":"WTpnUYbmA00WoTuI","Timestamp":"1571764240","Sign":"782eca70f752e3b6819de0a3f289c121","UserCode":"oCeNz0mEQnmQgEVo5Z2JEJpybxgs"}}

响应:

{"Success":true,"Error":null,"Data":[{"Calendar":{"CalendarId":"a66fac02be6e4af793788f9dc1ccb540","Identity":6403,"CalendarName":"发布公共日历","CalendarReadonly":false,"CalendarPrimary":false,"IsPublic":false,"UpdateTime":"2019-03-21T11:43:00.5900000Z","Selected":false,"EventCount":0,"SubscribedCount":0,"IsCreator":false,"IsSubscriber":false},"Events":[{"CalendarId":"a66fac02be6e4af793788f9dc1ccb540","EventId":"4307cc9c5b9242f8aca9c330e19a1eda","Identity":138231,"Summary":"三天后公共事件","Description":"三天后公共事件DESC","IsAllDay":true,"Start":{"Time":"2019-03-24T03:43:00.0000000Z","Tzid":"UTC"},"End":{"Time":"2019-03-24T03:43:00.0000000Z","Tzid":"UTC"},"Publish":false,"IsCreator":false,"IsAttendee":false,"Source":"微信小程序","CreateTime":"2019-03-21T11:43:00.5900000Z"}]},{"Calendar":{"CalendarId":"e3e0edd7360a473a9507980ea37f6b3a","Identity":6309,"CalendarName":"发布公共日历","CalendarReadonly":false,"CalendarPrimary":false,"IsPublic":false,"UpdateTime":"2019-10-22T08:59:50.1730000Z","Selected":false,"EventCount":0,"SubscribedCount":0,"IsCreator":false,"IsSubscriber":false},"Events":[{"CalendarId":"e3e0edd7360a473a9507980ea37f6b3a","EventId":"fc5f7d58ad1a41e29992304e38fa73a5","Identity":135769,"Summary":"三天后公共事件","Description":"三天后公共事件DESC","IsAllDay":true,"Start":{"Time":"2019-10-25T08:59:46.0000000Z","Tzid":"UTC"},"End":{"Time":"2019-10-25T08:59:46.0000000Z","Tzid":"UTC"},"Publish":false,"IsCreator":false,"IsAttendee":false,"Source":"有空智能日历","CreateTime":"2019-10-22T08:59:50.1730000Z"}]}]}

执行耗时 91 毫秒