命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
为 用户提供对 Planner 资源的访问权限。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 列出分配到用户的任务 | plannerTask 集合 | 获取分配给用户的 plannerTasks 。 |
| 列出用户的“我的一天”任务 | plannerTask 集合 | 获取要在用户的 MyDay 视图中显示的 plannerTasks 。 |
| 列出用户收藏的计划 | plannerPlan 集合 | 获取用户标记为收藏夹的 plannerPlans 。 |
| 列出用户最近查看的计划 | plannerPlan 集合 | 获取用户最近查看的 plannerPlans 。 |
| 在名单中列出用户的计划 | plannerPlan 集合 | 获取用户是成员的 plannerRosters 包含的 plannerPlans。 |
| 更新用户设置 | plannerUser | 更新 plannerUser 对象。 |
| 列出计划 (Planner 统一计划 图形 API) | 计划集合 | 获取与用户关联的 计划 对象的列表。 |
| 列出任务 (Planner 统一计划图形 API) | 任务集合 | 获取分配给用户的 任务 对象的列表。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| favoritePlanReferences | plannerFavoritePlanReferenceCollection | 包含对用户标记为收藏夹的计划的引用的集合。 |
| id | String | 只读。 plannerUser 对象的唯一标识符。 |
| recentPlanReferences | plannerRecentPlanReferenceCollection | 一个集合,其中包含对用户最近在支持最近计划的应用中查看的计划的引用。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| favoritePlans | plannerPlan 集合 | 只读。 可为 Null。 返回用户标记为收藏夹的 plannerPlans 。 |
| myDayTasks | plannerTask collection | 只读。 可为 Null。 返回要在用户的“我的一天”视图中显示的 plannerTasks 。 |
| plans_v2 | 计划集合 | 只读。 可为 Null。 与用户关联的 Planner 统一计划图形 API 中的计划集合。 |
| recentPlans | plannerPlan 集合 | 只读。 可为 NULL。 返回用户最近在支持最近计划的应用中查看的 plannerPlans 。 |
| rosterPlans | plannerPlan 集合 | 只读。 可为 NULL。 返回 plannerRosters 中包含的 plannerPlans,该用户是成员。 |
| tasks | plannerTask collection | 只读。 可为 NULL。 返回分配给用户的 plannerTasks 。 |
| tasks_v2 | 任务集合 | 只读。 可为 Null。 分配给用户的 Planner 统一计划图形 API 中的任务集合。 |
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"id": "String (identifier)",
"favoritePlanReferences": {"@odata.type": "microsoft.graph.plannerFavoritePlanReferenceCollection"},
"recentPlanReferences": {"@odata.type": "microsoft.graph.plannerRecentPlanReferenceCollection"}
}