mailboxItem 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示 mailboxFolder 中的项目。 邮件是邮件、任务、事件、联系人或便笺等 Exchange 邮箱项目。

此资源通过提供 delta 函数支持 增量查询 来跟踪增量添加、删除和更新。 它还支持单值和多值扩展属性,用于筛选Microsoft图形 API元数据中尚未公开的自定义数据。

继承自 outlookItem

方法

方法 返回类型 Description
List mailboxItem 集合 获取邮箱中指定 mailboxFolder 中的 mailboxItem 集合。
Get mailboxItem 读取 mailboxItem 对象的属性和关系。
获取增量 mailboxItem 集合 获取一组已在指定的 mailboxFolder 中添加、删除或更新的 mailboxItem 对象。
扩展属性
获取单值属性 mailboxItem 使用 $expand$filter获取包含单值扩展属性的邮箱项目。
获取多值属性 mailboxItem 使用 $expand获取包含多值扩展属性的邮箱项目。

属性

属性 类型 说明
类别 String collection 与邮件关联的类别。 继承自 outlookItem
changeKey String 项的版本。 继承自 outlookItem
createdDateTime DateTimeOffset 创建项的日期和时间。 日期和时间信息使用 ISO 8601 格式,并且始终采用 UTC 格式。 例如,2021 年 1 月 1 日午夜 UTC 为 2021-01-01T00:00:00Z。 继承自 outlookItem
id String 项的唯一标识符。 继承自 outlookItem
lastModifiedDateTime DateTimeOffset 上次更改项的日期和时间。 日期和时间信息使用 ISO 8601 格式,并且始终采用 UTC 格式。 例如,2021 年 1 月 1 日午夜 UTC 为 2021-01-01T00:00:00Z。 继承自 outlookItem
size Int64 项的长度(以字节为单位)。
type String 项的消息类 ID。

关系

关系 类型 说明
multiValueExtendedProperties multiValueLegacyExtendedProperty 集合 mailboxItem 定义的多值扩展属性的集合。
singleValueExtendedProperties singleValueLegacyExtendedProperty collection mailboxItem 定义的单值扩展属性的集合。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.mailboxItem",
  "categories": ["String"],
  "changeKey": "String",
  "createdDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "size": "Int64",
  "type": "String"
}