educationClass 资源类型

命名空间:microsoft.graph

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

继承自 entity

Methods

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

属性

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

关系

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

JSON 表示形式

下面是资源的 JSON 表示形式。

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