educationSchool 资源类型educationSchool resource type

一种表示学校的资源,用于管理所表示学校的课程、教师和学生。A resource representing a school and used to manage the classes, teachers, and students of the represented school.

方法Methods

方法Method 返回类型Return Type 说明Description
GetGet educationSchooleducationSchool 读取 educationSchool 对象的属性和关系。Read properties and relationships of an educationSchool object.
Add classAdd class educationClasseducationClass 通过发布到课程导航属性,为学校添加一个新的 educationClassAdd a new educationClass for the school by posting to the classes navigation property.
List classesList classes educationClass 集合educationClass collection 获取 educationClass 对象集合。Get the educationClass object collection.
Remove classRemove class educationClasseducationClass 通过课程导航属性从学校删除 educationClassRemove an educationClass from the school through the classes navigation property.
Add userAdd user educationUsereducationUser 通过发布到 users 导航属性,为学校添加一个新的 educationUserAdd a new educationUser for the school by posting to the users navigation property.
List usersList users educationUser 集合educationUser collection 获取 educationUser 对象集合。Get the educationUser object collection.
Remove userRemove user educationUsereducationUser 通过 users 导航属性从学校删除 educationUserRemove an educationUser from the school through the users navigation property.
UpdateUpdate educationSchooleducationSchool 更新 educationSchool 对象。Update an educationSchool object.
DeleteDelete None 删除 educationSchool 对象。Delete an educationSchool object.

属性Properties

属性Property 类型Type 说明Description
idid StringString 该学校的 GUID。GUID of this school.
displayNamedisplayName StringString 学校的显示名称。Display name of the school.
descriptiondescription StringString 学校描述。Description of the school.
statusstatus stringstring 只读。Read-Only. 可能的值为: inactiveactiveexpireddeleteableThe possible values are: inactive, active, expired, deleteable.
externalSourceexternalSource educationExternalSourceeducationExternalSource 只读。Read-Only. 可能的值为: sismanualunknownFutureValueThe possible values are: sis, manual, unknownFutureValue.
principalEmailprincipalEmail StringString 主体的电子邮件地址。Email address of the principal.
principalNameprincipalName StringString 主体名称。Name of the principal.
externalPrincipalIdexternalPrincipalId StringString 同步系统中主体的 ID。ID of principal in syncing system.
highestGradehighestGrade StringString 教授的最高年级。Highest grade taught.
lowestGradelowestGrade StringString 教授的最低年级。Lowest grade taught.
schoolNumberschoolNumber StringString 学校编号。School Number.
externalIdexternalId StringString 同步系统中学校的 ID。ID of school in syncing system.
phonephone StringString 学校电话号码。Phone number of school.
faxfax StringString 学校传真号码。Fax number of school.
addressaddress physicalAddressphysicalAddress 学校地址。Address of the school.
createdBycreatedBy identitySetidentitySet 创建了学校的实体。Entity who created the school.

关系Relationships

关系Relationship 类型Type 说明Description
classesclasses educationClass 集合educationClass collection 在学校教授的课程。Classes taught at the school. 可为 NULL。Nullable.
usersusers educationUser 集合educationUser collection 学校中的用户。Users in the school. 可为 NULL。Nullable.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

{
  "id": "String",
  "displayName": "String",
  "description": "String",
  "status": "String",
  "externalSource": "String",
  "principalEmail": "String",
  "principalName": "String",
  "externalPrincipalId": "String",
  "highestGrade": "String",
  "lowestGrade": "String",
  "schoolNumber": "String",
  "address": {"@odata.type": "microsoft.graph.physicalAddress"},
  "createdBy": {"@odata.type": "microsoft.graph.identitySet"},
  "externalId": "String",
  "fax": "String",
  "phone": "String",
}