文档
测试
现存接口

获取个人日程列表

GET
https://portal.dev2.supwisdom.com/portal-api/v1/calendar/share/schedule/getEvents?startDate=2023-04-01&endDate=2023-04-30&reqType=MonthView&random_number=489

分支名称

**feature/todoSchedule**

请求头

参数名
类型
描述
必填
x-id-token
string
用户token
必填

响应参数

application/json
参数名
类型
描述
必填
标签
code
int
0:成功;-1:失败;
可选
message
string
接口访问状况信息
可选
data
object
日程列表
可选
reqType
string
视图模式
可选
schedule
可选
2023-04-01
可选
calendarList
可选
scheduleShowType
string
日程展示类型,待办:todo,已办:done,通用:common
必填
新增
handleScheduleDetail
string
处理日程详情方式
必填
新增

说明 / 示例

```json { "reqType": "MonthView", "schedule": { "2023-04-01": { "calendarList": [ { "id": "8aaa84518696956201869c42246c2d03", "scheduleShowType": "todo", "handleScheduleDetail": \"{ \"type\": \"remote\", \"pc\":{ \"remoteUrl\": \"http://portal-multiple-ui-test.paas.nwpu.edu.cn\", \"fileName\": \"remoteEntry.js\", \"moduleName\": \"toDoDetail\", \"params\":{\"id\":\"99999\"} }, \"app\":{ \"resourceType\": \"internal\", // internal=>内部; external=> 外部; 默认为外部 \"externalVisitUrl\": \"http://portal-multiple-ui-test.paas.nwpu.edu.cn\mytodo\", // 资源类型为external需要设置此项 \"internalRouter\": \"MyToDo\",// 资源类型为internal需要设置此项 \"params\":{\"id\":\"99999\"}// 资源类型为internal需要设置此项,无参数则可以不传 } } }, { "id": "333", "scheduleShowType": "common", "handleScheduleDetail": { \"type\": \"common\" } } ] } } } ```