educationClass: delta
Namespace: microsoft.graph
Get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details.
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | EduRoster.ReadBasic, EduRoster.Read, or EduRoster.ReadWrite |
Delegated (personal Microsoft account) | Not supported. |
Application | EduRoster.ReadBasic.All, EduRoster.Read.All, or EduRoster.ReadWrite.All |
HTTP request
GET /education/classes/delta
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Do not supply a request body for this method.
Response
If successful, this function returns an 200 OK
response code and an educationClass collection in the response body. The response also includes a @odata.nextLink
URL or a @odata.deltaLink
URL.
- If a
@odata.nextLink
URL is returned, there are additional pages of data to be retrieved in the session. The application continues making requests using the@odata.nextLink
URL until a@odata.deltaLink
URL is included in the response. - If a
@odata.deltaLink
URL is returned, there is no more data about the existing state of the resource to be returned. Persist and use the@odata.deltaLink
URL to learn about changes to the resource in the future.
For details, see Using delta query. For example requests, see Get incremental changes for users.
Important
educationClass deltas do not include deleted classes.
Examples
Request
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(educationClass)",
"@odata.nextLink": "https://graph.microsoft.com/v1.0/education/classes/delta?$skiptoken=sU1S4IJGk3hwxbia8...",
"value": [
{
"@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"
}
}
]
}
Feedback
Submit and view feedback for