命名空间:microsoft.graph
一种表示学校的资源,用于管理所表示学校的课程、教师和学生。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| List schools | educationSchool 集合 | 获取 educationSchool 对象及其属性的列表。 |
| 创建学校 | educationSchool | 创建新的 educationSchool 对象。 |
| 获取学校 | educationSchool | 读取 educationSchool 对象的属性和关系。 |
| 更新学校 | educationSchool | 更新 educationSchool 对象的属性。 |
| 删除学校 | 无 | 删除 educationSchool 对象。 |
| 获取对学校的更改 | educationSchool 集合 | 获取对资源集合的增量更改。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| address | physicalAddress | 学校地址。 |
| createdBy | identitySet | 创建了学校的实体。 |
| description | String | 学校描述。 继承自 educationOrganization。 |
| displayName | String | 学校的显示名称。 继承自 educationOrganization。 |
| externalId | String | 同步系统中学校的 ID。 |
| externalPrincipalId | String | 同步系统中主体的 ID。 |
| externalSource | educationExternalSource | 创建此组织的源。 继承自 educationOrganization。 可能的值为: sis、 manual。 |
| externalSourceDetail | String | 从中生成此资源的外部源的名称。 |
| highestGrade | String | 教授的最高年级。 |
| id | String | 对象标识符。 继承自 entity。 |
| lowestGrade | String | 教授的最低年级。 |
| phone | String | 学校电话号码。 |
| principalEmail | String | 主体的电子邮件地址。 |
| principalName | String | 主体名称。 |
| schoolNumber | String | 学校编号。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| administrativeUnit | administrativeUnit | 此学校的基础管理单元。 |
| classes | educationClass 集合 | 在学校教授的课程。 可为 NULL。 |
| users | educationUser 集合 | 学校中的用户。 可为 NULL。 |
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.educationSchool",
"address": {
"@odata.type": "microsoft.graph.physicalAddress"
},
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"description": "String",
"displayName": "String",
"externalId": "String",
"externalPrincipalId": "String",
"externalSource": "String",
"externalSourceDetail": "String",
"highestGrade": "String",
"id": "String (identifier)",
"lowestGrade": "String",
"phone": "String",
"principalEmail": "String",
"principalName": "String",
"schoolNumber": "String"
}