Skip to content

Commit 00678d0

Browse files
authored
Merge pull request #24842 from microsoftgraph/v-rmanda/201594/update_supported_properties_information_for_
v-rmanda/201594/update_supported_properties_information_for_$orderby
2 parents a732f35 + 69792b7 commit 00678d0

14 files changed

+141
-15
lines changed

api-reference/beta/api/educationassignment-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ Choose the permission or permissions marked as least privileged for this API. Us
3333
GET /education/classes/{id}/assignments/{id}
3434
```
3535
## Optional query parameters
36-
This method supports the `$select` and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
36+
This method supports the `$select`, `$orderby`, and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
37+
38+
You can use `$orderby` with the following properties of the [educationAssignment](../resources/educationassignment.md) resource: **assignDateTime**, **assignedDateTime**, **closeDateTime**, **createdDateTime**, **displayName**, **dueDateTime**, **lastModifiedDateTime**, **moduleUrl**, and **status**.
3739

3840
The following `$expand` options are available for this method: `categories`, `resources`, `rubric`, `submissions`, `gradingScheme`, `gradingCategory`, and `*`. `*` specifies all the previous options.
3941

api-reference/beta/api/educationcategory-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ GET /education/classes/{id}/assignmentCategories/{id}
3333

3434
## Optional query parameters
3535

36-
This method supports the `$select` OData query parameter to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
36+
This method supports the `$select` and `$orderby` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
37+
38+
You can use `$orderby` with the **displayName** property of the [educationCategory](../resources/educationcategory.md) resource.
3739

3840
## Request headers
3941
| Header | Value |

api-reference/beta/api/educationsubmission-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ GET /education/classes/{class-id}/assignments/{assignment-id}/submissions/{submi
3939

4040
## Optional query parameters
4141

42-
This method supports the `$select` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
42+
This method supports the `$select` and `$orderby` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
43+
44+
You can use `$orderby` with the following properties of the [educationSubmission](../resources/educationsubmission.md) resource: **excusedDateTime**, **reassignedDateTime**, **returnedDateTime**, **status**, **submittedDateTime**, and **unsubmittedDateTime**.
4345

4446
## Request headers
4547
| Header | Value |

api-reference/beta/api/educationsubmission-reassign.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ The following is an example of the response when `Prefer: include-unknown-enum-m
102102

103103
<!-- {
104104
"blockType": "response",
105+
"truncated": true,
105106
"@odata.type": "microsoft.graph.educationSubmission"
106107
} -->
107108
```http
@@ -213,7 +214,8 @@ Prefer: include-unknown-enum-members
213214
The following is an example of the response when `Prefer: include-unknown-enum-members` is provided in the request header and the submission hasn't been returned before.
214215

215216
<!-- {
216-
"blockType": "response",
217+
"blockType": "response",
218+
"truncated": true,
217219
"@odata.type": "microsoft.graph.educationSubmission"
218220
} -->
219221
```http

api-reference/beta/api/educationuser-list-assignments.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ This method supports the `$top`, `$filter`, `$orderby`, and `$select` OData quer
4545

4646
The following `$expand` options are available for this method: `categories`, `resources`, `gradingCategory`, `rubric`, `submissions`, and `*`, which includes all the previous options.
4747

48-
All [properties](../resources/educationassignment.md#properties) are supported for the query parameters `$filter` and `$orderby`.
48+
All [properties](../resources/educationassignment.md#properties) are supported by the `$filter` query parameter.
49+
50+
You can use `$orderby` with the following properties of the [educationAssignment](../resources/educationassignment.md) resource: **assignDateTime**, **assignedDateTime**, **closeDateTime**, **createdDateTime**, **displayName**, **dueDateTime**, **lastModifiedDateTime**, and **status**.
4951

5052
## Request headers
5153

api-reference/beta/resources/educationsubmission.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,20 @@ If [setUpResourcesFolder](../api/educationsubmission-setupResourcesFolder.md) ha
4040
## Properties
4141
| Property | Type |Description|
4242
|:---------------|:--------|:----------|
43+
|excusedBy|[identitySet](identityset.md)|The user that marked the submission as excused.|
44+
|excusedDateTime|DateTimeOffset|Moment in time when the submission was moved to the excused state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.|
4345
|id|String|Unique identifier for the submission.|
46+
|reassignedBy|[identitySet](identityset.md)|User who moved the status of this submission to reassigned.|
47+
|reassignedDateTime|DateTimeOffset|Moment in time when the submission was reassigned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.|
4448
|recipient|[educationSubmissionRecipient](educationsubmissionrecipient.md)|Who this submission is assigned to.|
49+
|resourcesFolderUrl|String|Folder where all file resources for this submission need to be stored.|
4550
|returnedBy|[identitySet](identityset.md)|User who moved the status of this submission to returned.|
4651
|returnedDateTime|DateTimeOffset|Moment in time when the submission was returned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.|
47-
|resourcesFolderUrl|String|Folder where all file resources for this submission need to be stored.|
4852
|status|educationSubmissionStatus| Read-only. Possible values are: `working`, `submitted`, `returned`, `unknownFutureValue`, `reassigned`, and `excused`. Note that you must use the `Prefer: include-unknown-enum-members` request header to get the following values in this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `reassigned`, and `excused`.|
4953
|submittedBy|[identitySet](identityset.md)|User who moved the resource into the submitted state.|
5054
|submittedDateTime|DateTimeOffset|Moment in time when the submission was moved into the submitted state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.|
5155
|unsubmittedBy|[identitySet](identityset.md)|User who moved the resource from submitted into the working state.|
5256
|unsubmittedDateTime|DateTimeOffset|Moment in time when the submission was moved from submitted into the working state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.|
53-
|reassignedBy|[identitySet](identityset.md)|User who moved the status of this submission to reassigned.|
54-
|reassignedDateTime|DateTimeOffset|Moment in time when the submission was reassigned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.|
5557
|webUrl|String| The deep link URL for the given submission.|
5658

5759
## Relationships
@@ -76,6 +78,8 @@ The following JSON representation shows the resource type.
7678

7779
```json
7880
{
81+
"excusedBy": {"@odata.type":"microsoft.graph.identitySet"},
82+
"excusedDateTime": "String (timestamp)",
7983
"id": "String (identifier)",
8084
"reassignedBy": {"@odata.type":"microsoft.graph.identitySet"},
8185
"reassignedDateTime": "String (timestamp)",

api-reference/v1.0/api/educationassignment-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ GET /education/classes/{id}/assignments/{id}
3333
```
3434

3535
## Optional query parameters
36-
This method supports the `$select` and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
36+
This method supports the `$select`, `$orderby`, and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
37+
38+
You can use `$orderby` with the following properties of the [educationAssignment](../resources/educationassignment.md) resource: **assignDateTime**, **assignedDateTime**, **closeDateTime**, **createdDateTime**, **displayName**, **dueDateTime**, **lastModifiedDateTime**, **moduleUrl**, and **status**.
3739

3840
You can use `$expand` with the following navigation properties of the [educationAssignment](../resources/educationassignment.md) resource: **categories**, **resources**, **rubric**, **submissions**, and **gradingCategory**. You can also use `*` to specify all the navigation properties.
3941

api-reference/v1.0/api/educationcategory-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ GET /education/classes/{id}/assignmentCategories/{id}
3131

3232
## Optional query parameters
3333

34-
This method supports the `$select` OData query parameter to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
34+
This method supports the `$select` and `$orderby` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
35+
36+
You can use `$orderby` with the **displayName** property of the [educationCategory](../resources/educationcategory.md) resource.
3537

3638
## Request headers
3739
| Header | Value |

api-reference/v1.0/api/educationsubmission-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ GET /education/classes/{class-id}/assignments/{assignment-id}/submissions/{submi
3535

3636
## Optional query parameters
3737

38-
This method supports the `$select` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
38+
This method supports the `$select` and `$orderby` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
39+
40+
You can use `$orderby` with the following properties of the [educationSubmission](../resources/educationsubmission.md) resource: **excusedDateTime**, **reassignedDateTime**, **returnedDateTime**, **status**, **submittedDateTime**, and **unsubmittedDateTime**.
3941

4042
## Request headers
4143
| Header | Value |

api-reference/v1.0/api/educationsubmission-reassign.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ POST https://graph.microsoft.com/v1.0/education/classes/37d99af7-cfc5-4e3b-8566-
100100
The following is an example of the response when `Prefer: include-unknown-enum-members` isn't provided in the request header and the submission hasn't been returned before.
101101

102102
<!-- {
103-
"blockType": "response",
103+
"blockType": "response",
104+
"truncated": true,
104105
"@odata.type": "microsoft.graph.educationSubmission"
105106
} -->
106107
```http
@@ -214,6 +215,7 @@ The following is an example of the response when `Prefer: include-unknown-enum-m
214215

215216
<!-- {
216217
"blockType": "response",
218+
"truncated": true,
217219
"@odata.type": "microsoft.graph.educationSubmission"
218220
} -->
219221
```http

0 commit comments

Comments
 (0)