編輯

共用方式為


baseTaskList resource type (deprecated)

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Caution

The to-do API set built on baseTask was deprecated on May 31, 2022, and stopped returning data on August 31, 2022. Use the todoTask API instead.

Contains one or more baseTask resources.

This is the base resource for the following derived types of task lists.

This is an abstract type.

Methods

The following methods apply to any of the derived types of baseTaskList (wellKnownTaskList,taskList)

Method Return type Description
List base task lists baseTaskList collection Get a list of the baseTaskList objects and their properties.
Get base task list baseTaskList Read the properties and relationships of a baseTaskList object.
List base tasks baseTask collection Get the baseTask resources from the tasks navigation property.
Create base task baseTask Create a new baseTask object.

Properties

Property Type Description
displayName String The name of the task list.
id String The identifier of the task list, unique in the user's mailbox. Read-only.

Relationships

Relationship Type Description
extensions extension collection The collection of open extensions defined for the task list. Nullable.
tasks baseTask collection The tasks in this task list. Read-only. Nullable.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.baseTaskList",
  "displayName": "String",
  "id": "String (identifier)"
}