命名空间:microsoft.graph.callRecords
表示 User-User 通信的一部分,或者对于电话会议,则表示 User-Meeting 通信的一部分。 典型的 VOIP 呼叫每个会话有一个段。 在某些情况下(例如 PSTN 呼叫),由于连接呼叫需要额外的服务器到服务器通信,因此每个会话有多个段。
方法
不存在直接访问段的方法。 将 Get callRecord API 与 $expand=sessions($expand=segments) 或 列表会话 API 用于 $expand=segments 获取 callRecord 的段。
属性
| 属性 | 类型 | 说明 | 
|---|---|---|
| 被调用方 | microsoft.graph.callRecords.endpoint | 回答此段的终结点。 | 
| 来电 | microsoft.graph.callRecords.endpoint | 启动此段的终结点。 | 
| endDateTime | DateTimeOffset | 段结束的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z | 
| failureInfo | microsoft.graph.callRecords.failureInfo | 与段关联的失败信息(如果失败)。 | 
| id | String | 段的唯一标识符。 此为只读属性。 | 
| 媒体 | microsoft.graph.callRecords.media 集合 | 与此段关联的媒体。 | 
| startDateTime | DateTimeOffset | 段开始的 UTC 时间。 DateTimeOffset 表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z | 
关系
无
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
  "callee": {"@odata.type": "microsoft.graph.callRecords.endpoint"},
  "caller": {"@odata.type": "microsoft.graph.callRecords.endpoint"},
  "endDateTime": "String (timestamp)",
  "failureInfo": {"@odata.type": "microsoft.graph.callRecords.failureInfo"},
  "id": "String (identifier)",
  "media": [{"@odata.type": "microsoft.graph.callRecords.media"}],
  "startDateTime": "String (timestamp)"
}