callRecord 资源类型

命名空间:microsoft.graph.callRecords

重要

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

表示单个对等呼叫或多个参与者之间的组呼叫,有时称为联机会议。 通话或会议结束后会创建通话记录。

方法

方法 返回类型 说明
列出 callRecords microsoft.graph.callRecords.callRecord 集合 获取 callRecord 对象及其属性的列表。
获取 callRecord microsoft.graph.callRecords.callRecord 读取 callRecord 对象的属性和关系。
getPstnCalls microsoft.graph.callRecords.pstnCallLogRow 集合 列出呼叫记录中的 pstnCallLogRow 对象。
getDirectRoutingCalls microsoft.graph.callRecords.directRoutingLogRow 集合 列出呼叫记录的 directRoutingLogRow 对象。
getPstnBlockedUsersLog microsoft.graph.callRecords.pstnBlockedUsersLogRow 集合 获取被阻止/取消阻止的用户在 Microsoft Teams 中将公用电话交换网络 (PSTN) 呼叫的日志作为 pstnBlockedUsersLogRow 条目的集合。
getPstnOnlineMeetingDialoutReport microsoft.graph.callRecords.pstnOnlineMeetingDialoutReport 集合 作为 pstnOnlineMeetingDialoutReport 条目的集合,获取音频会议拨出服务的使用情况和支出的聚合报告。
getSmsLog microsoft.graph.callRecords.smsLogRow 集合 获取已发送/接收短信的日志作为 smsLogRow 条目的集合。

属性

属性 类型 说明
endDateTime DateTimeOffset 最后一个用户离开呼叫的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
id String 呼叫记录的唯一标识符。 此为只读属性。
joinWebUrl String 与呼叫关联的会议 URL。 可能不适用于 peerToPeer 呼叫记录类型。
lastModifiedDateTime DateTimeOffset 创建呼叫记录的 UTC 时间。 DatetimeOffset 类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
方式 modality 集合 调用中使用的所有形式的列表。 可取值为:unknownaudiovideovideoBasedScreenSharingdatascreenSharingunknownFutureValue
startDateTime DateTimeOffset 第一个用户加入呼叫的 UTC 时间。 DatetimeOffset 类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
type callType 指示调用的类型。 可取值为:unknowngroupCallpeerToPeerunknownFutureValue
version Int64 单调增加的呼叫记录版本。 与较低版本相比,具有相同 ID 的更高版本的呼叫记录包括其他数据。
组织者 (已弃用) identitySet 组织方的身份。 组织者属性已弃用,将于 2026 年 6 月 30 日停止返回数据。 今后,请使用 organizer_v2 关系。
参与者 (已弃用) identitySet 集合 调用中涉及的不同标识的列表。 限制为 130 个条目。 参与者属性已弃用,将于 2026 年 6 月 30 日停止返回数据。 今后,请使用 participants_v2 关系。

关系

关系 类型 说明
organizer_v2 microsoft.graph.callRecords.organizer 呼叫的组织者的标识。 此关系默认在 callRecord 方法中展开。
participants_v2 microsoft.graph.callRecords.participant 集合 调用中不同参与者的列表。
会话 microsoft.graph.callRecords.session 集合 调用中涉及的会话列表。 对等呼叫通常只有一个会话,而组呼叫通常每个参与者至少有一个会话。 此为只读属性。 可为 Null。

JSON 表示形式

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

{
  "endDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "joinWebUrl": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "modalities": ["string"],
  "organizer": {"@odata.type": "microsoft.graph.identitySet"},
  "participants": [{"@odata.type": "microsoft.graph.identitySet"}],
  "startDateTime": "String (timestamp)",
  "type": "String",
  "version": "Int64"
}