Skip to content

Commit bac2d21

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
Learn Build Service GitHub App
authored and
Learn Build Service GitHub App
committed
Merging changes synced from https://github.com/microsoftgraph/microsoft-graph-docs (branch live)
2 parents c5e2b44 + 009eea9 commit bac2d21

11 files changed

+1155
-151
lines changed

api-reference/beta/api/educationclass-getrecentlymodifiedsubmissions.md

+114-11
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The `$orderby` query parameter only supports the **lastModifiedDateTime** proper
4343

4444
The default ordering is by descending **lastModifiedDateTime** property values.
4545

46+
**Note**: The `Equality` (eq) operator isn't supported for the **lastModifiedDateTime** property value.
47+
4648
## Request headers
4749
| Header | Value |
4850
|:---------------|:--------|
@@ -499,7 +501,7 @@ The following example shows a request.
499501
"name": "get_educationclass_getrecentlymodifiedsubmissions_filter"
500502
}-->
501503
```msgraph-interactive
502-
GET https://graph.microsoft.com/beta/education/classes/bf1f1963-05f6-4cba-903c-5892b4ce3bd7/getRecentlyModifiedSubmissions?$filter=status eq 'working'
504+
GET https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/getRecentlyModifiedSubmissions?$filter=lastModifiedDateTime gt 2025-04-10T19:02:00.8753517Z
503505
```
504506

505507
# [C#](#tab/csharp)
@@ -552,29 +554,29 @@ Content-type: application/json
552554
553555
{
554556
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.educationSubmission)",
555-
"@odata.nextLink": "https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/getRecentlyModifiedSubmissions?$filter=status+eq+%27working%27&$skiptoken=eyJJbm5lclNraXBUb2tlbiI6Ik15WlJWa1pDVVZWR1FsRlZSa1phTVd4Q1VWVkdRbEZWUmtKU1JXeENVVlZHUWxWWFZscE9SM040U3pCc1RGWlRjM2RTTUhkNlZGVlJlRlJzUW1oa2VqQTUifQ%3d%3d",
556-
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET education/classes('<guid>')/microsoft.graph.getRecentlyModifiedSubmissions?$select=excusedBy,excusedDateTime",
557+
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET education/classes('<guid>')/microsoft.graph.getRecentlyModifiedSubmissions?$select=assignmentId,excusedBy",
557558
"value": [
558559
{
559-
"status": "working",
560-
"submittedDateTime": null,
560+
"status": "submitted",
561+
"submittedDateTime": "2025-04-29T14:53:31.0207353Z",
561562
"unsubmittedDateTime": null,
562563
"returnedDateTime": null,
563564
"reassignedDateTime": null,
564565
"excusedDateTime": null,
565-
"lastModifiedDateTime": "2024-08-26T15:57:23.5476513Z",
566+
"lastModifiedDateTime": "2025-04-29T14:53:31.0866924Z",
566567
"resourcesFolderUrl": null,
567-
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%2237d99af7-cfc5-4e3b-8566-f7d40e4a2070%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%223d2fcfd4-cb6a-4e31-aa63-16ca865e9014%5C%22%5D,%5C%22submissionId%5C%22%3A%5C%227e2e0656-2bf4-1f95-b4b0-967f516340cd%5C%22%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22speed-grader%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
568-
"id": "7e2e0656-2bf4-1f95-b4b0-967f516340cd",
568+
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%2237d99af7-cfc5-4e3b-8566-f7d40e4a2070%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%22ed33a213-f67f-4eb8-bfea-f45e6cba041f%5C%22%5D,%5C%22submissionId%5C%22%3A%5C%2215ab234b-3281-ada3-bff4-a51c335068e1%5C%22%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22speed-grader%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
569+
"assignmentId": "ed33a213-f67f-4eb8-bfea-f45e6cba041f",
570+
"id": "15ab234b-3281-ada3-bff4-a51c335068e1",
569571
"recipient": {
570572
"@odata.type": "#microsoft.graph.educationSubmissionIndividualRecipient",
571-
"userId": "80cefd93-8d88-40e2-b5d3-67898383e226"
573+
"userId": "51cf5a99-d234-4e43-96de-cd65df14bfa1"
572574
},
573575
"submittedBy": {
574576
"application": null,
575577
"device": null,
576578
"user": {
577-
"id": "80cefd93-8d88-40e2-b5d3-67898383e226",
579+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
578580
"displayName": null
579581
}
580582
},
@@ -614,7 +616,7 @@ Content-type: application/json
614616
"application": null,
615617
"device": null,
616618
"user": {
617-
"id": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
619+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
618620
"displayName": null
619621
}
620622
}
@@ -968,6 +970,107 @@ Content-type: application/json
968970
}
969971
```
970972

973+
### Example 8: Get recently modified submissions with `$filter` option for lastModifiedDateTime property using less than(lt) operator
974+
975+
#### Request
976+
The following example shows a request.
977+
978+
<!-- {
979+
"blockType": "request",
980+
"name": "get_educationclass_getrecentlymodifiedsubmissions_filter_lastModifiedDateTime"
981+
}-->
982+
```msgraph-interactive
983+
GET https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/getRecentlyModifiedSubmissions?$filter=lastModifiedDateTime+lt+2025-04-29T15:48:31.3785886Z
984+
```
985+
---
986+
987+
#### Response
988+
The following example shows the response.
989+
990+
>**Note:** The response object shown here might be shortened for readability.
991+
992+
<!-- {
993+
"blockType": "response",
994+
"truncated": true,
995+
"@odata.type": "Collection(microsoft.graph.educationSubmission)"
996+
} -->
997+
```http
998+
HTTP/1.1 200 OK
999+
Content-type: application/json
1000+
1001+
{
1002+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.educationSubmission)",
1003+
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET education/classes('<guid>')/microsoft.graph.getRecentlyModifiedSubmissions?$select=assignmentId,excusedBy",
1004+
"value": [
1005+
{
1006+
"status": "returned",
1007+
"submittedDateTime": null,
1008+
"unsubmittedDateTime": null,
1009+
"returnedDateTime": "2025-04-29T15:48:14.4748477Z",
1010+
"reassignedDateTime": null,
1011+
"excusedDateTime": null,
1012+
"lastModifiedDateTime": "2025-04-29T15:48:14.5601548Z",
1013+
"resourcesFolderUrl": null,
1014+
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%2237d99af7-cfc5-4e3b-8566-f7d40e4a2070%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%22ed33a213-f67f-4eb8-bfea-f45e6cba041f%5C%22%5D,%5C%22submissionId%5C%22%3A%5C%2231d03cde-a936-afc6-5e49-66c0b3271fed%5C%22%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22speed-grader%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
1015+
"assignmentId": "ed33a213-f67f-4eb8-bfea-f45e6cba041f",
1016+
"id": "31d03cde-a936-afc6-5e49-66c0b3271fed",
1017+
"recipient": {
1018+
"@odata.type": "#microsoft.graph.educationSubmissionIndividualRecipient",
1019+
"userId": "e5c17181-ad7e-4a66-86bf-b560ce0c8b29"
1020+
},
1021+
"submittedBy": {
1022+
"application": null,
1023+
"device": null,
1024+
"user": {
1025+
"id": "e5c17181-ad7e-4a66-86bf-b560ce0c8b29",
1026+
"displayName": null
1027+
}
1028+
},
1029+
"unsubmittedBy": {
1030+
"application": null,
1031+
"device": null,
1032+
"user": {
1033+
"id": null,
1034+
"displayName": null
1035+
}
1036+
},
1037+
"returnedBy": {
1038+
"application": null,
1039+
"device": null,
1040+
"user": {
1041+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
1042+
"displayName": null
1043+
}
1044+
},
1045+
"reassignedBy": {
1046+
"application": null,
1047+
"device": null,
1048+
"user": {
1049+
"id": null,
1050+
"displayName": null
1051+
}
1052+
},
1053+
"excusedBy": {
1054+
"application": null,
1055+
"device": null,
1056+
"user": {
1057+
"id": null,
1058+
"displayName": null
1059+
}
1060+
},
1061+
"lastModifiedBy": {
1062+
"application": null,
1063+
"device": null,
1064+
"user": {
1065+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
1066+
"displayName": null
1067+
}
1068+
}
1069+
}
1070+
]
1071+
}
1072+
```
1073+
9711074
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
9721075
2024-08-18 14:57:30 UTC -->
9731076
<!--

api-reference/beta/resources/educationsubmission.md

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ The following JSON representation shows the resource type.
8282

8383
```json
8484
{
85+
"assignmentId": "String",
8586
"excusedBy": {"@odata.type":"microsoft.graph.identitySet"},
8687
"excusedDateTime": "String (timestamp)",
8788
"id": "String (identifier)",

0 commit comments

Comments
 (0)