educationClass 资源类型

命名空间:microsoft.graph

表示学校的课程。 educationClass 资源对应于 Microsoft 365 组,并共享相同的 ID。 学生是课程的正式成员,教师为所有者,且具有相应权限。 若要使 Office 体验正常进行,教师必须同时为教师和成员集合的成员。

继承自 entity

Methods

方法 返回类型 说明
列出 educationClasses educationClass 集合 获取 educationClass 对象及其属性的列表。
列出模块 educationModule集合 获取 educationModule 对象集合。
Create educationClass educationClass 创建新的 educationClass 对象。
Get educationClass educationClass 读取 educationClass 对象的属性和关系。
更新 educationClass educationClass 更新 educationClass 对象的属性。
删除 educationClass None 删除 educationClass 对象。
获取增量 educationClass 集合 获取 educationClasses 的增量更改。

属性

属性 类型 说明
classCode String 学校用于标识课程的课程代码。
createdBy identitySet 创建了课程的实体
说明 String 课程说明。
displayName String 课程名称。
externalId String 来自同步系统的课程 ID。
externalSource educationExternalSource 此课程的创建方式。 可取值为:sismanual
externalSourceDetail String 从中生成此资源的外部源的名称。
externalName String 同步系统中的课程名称。
grade String 课堂的成绩级别。
id String 对象标识符。 继承自 entity
mailNickname String 向所有成员发送电子邮件的邮件名称(如果已启用)。
term educationTerm 此课程的学期。

关系

关系 类型 说明
assignments educationAssignment 集合 与此类关联的所有作业。 可为 NULL。
assignmentCategories educationCategory 集合 与此类关联的所有类别。 可为 NULL。
assignmentDefaults educationAssignmentDefaults 集合 指定类中创建的新作业所遵循的类级默认值。
assignmentSettings educationAssignmentSettings 集合 指定课堂级别的作业设置。
基础 Microsoft 365 组对象。
members educationUser 集合 课程中的所有用户。 可为 NULL。
模块 educationModule 集合 类中的所有模块。 可为 NULL。
schools educationSchool 集合 与此课程相关的所有学校。 可为 NULL。
teachers educationUser 集合 课程中的所有教师。 可为 NULL。

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.educationClass",
  "description": "String",
  "displayName": "String",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "classCode": "String",
  "externalName": "String",
  "externalId": "String",
  "externalSource": "String",
  "externalSourceDetail": "String",
  "grade": "String",
  "id": "String (identifier)",
  "mailNickname": "String",
  "term": {
    "@odata.type": "microsoft.graph.educationTerm"
  }
}