educationSchool 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
学校。 educationSchool 资源当前对应于 administrativeUnit资源并共享相同的 ID。
此资源是 educationOrganization的子类型。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 获取 | educationSchool | 读取 educationSchool 对象的属性和关系。 |
| Add class | educationClass | 通过发布到课程导航属性,为学校添加一个新的 educationClass。 |
| List classes | educationClass 集合 | 获取 educationClass 对象集合。 |
| Remove class | educationClass | 通过课程导航属性从学校删除 educationClass。 |
| Add user | educationUser | 通过发布到 users 导航属性,为学校添加一个新的 educationUser。 |
| List users | educationUser 集合 | 获取 educationUser 对象集合。 |
| Remove user | educationUser | 通过 users 导航属性从学校删除 educationUser。 |
| 获取 administrativeUnit | administrativeUnit | 获取 对应于此 educationSchool 的 administrativeUnit。 |
| Update | educationSchool | 更新 educationSchool 对象。 |
| 删除 | 无 | 删除 educationSchool 对象。 |
| Delta | educationSchool 集合 | 获取 educationSchools 的增量更改 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 该学校的 GUID。 |
| address | physicalAddress | 学校地址。 |
| createdBy | identitySet | 创建了学校的实体。 |
| description | String | 学校描述。 |
| displayName | String | 学校的显示名称。 |
| externalId | String | 同步系统中学校的 ID。 |
| externalPrincipalId | String | 同步系统中主体的 ID。 |
| externalSource | String | 此资源的外部源类型由 (自动确定 externalSourceDetail) 。 可能的值为: sis、 lms或 manual。 |
| externalSourceDetail | String | 生成这些资源的外部源的名称。 |
| highestGrade | String | 教授的最高年级。 |
| lowestGrade | String | 教授的最低年级。 |
| phone | String | 学校电话号码。 |
| principalEmail | String | 主体的电子邮件地址。 |
| principalName | String | 主体名称。 |
| schoolNumber | String | 学校编号。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| classes | educationClass 集合 | 在学校教授的课程。 可为 NULL。 |
| users | educationUser 集合 | 学校中的用户。 可为 Null。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"address": { "@odata.type": "microsoft.graph.physicalAddress" },
"createdBy": { "@odata.type": "microsoft.graph.identitySet" },
"description": "String",
"displayName": "String",
"externalId": "String",
"externalPrincipalId": "String",
"externalSource": "string",
"highestGrade": "String",
"id": "String (identifier)",
"lowestGrade": "String",
"phone": "String",
"principalEmail": "String",
"principalName": "String",
"schoolNumber": "String"
}
反馈
提交和查看相关反馈