Skip to content

Commit 10d534a

Browse files
committed
updated request to update languageTag
1 parent d6dafd8 commit 10d534a

File tree

2 files changed

+4
-72
lines changed

2 files changed

+4
-72
lines changed

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

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ If successful, this method returns a `200 OK` response code and an updated [educ
6161
### Request
6262
The following example shows a request.
6363

64-
# [HTTP](#tab/http)
6564
<!-- {
6665
"blockType": "request",
6766
"sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","4679bc1b-90c5-45af-ae1a-d5357672ed39"],
@@ -79,44 +78,11 @@ Content-type: application/json
7978
},
8079
"dueDateTime": "2021-09-10T00:00:00Z",
8180
"addedStudentAction": "none",
81+
"languageTag": "pt-BR",
8282
"addToCalendarAction": "studentsAndPublisher"
8383
}
8484
```
8585

86-
# [C#](#tab/csharp)
87-
[!INCLUDE [sample-code](../includes/snippets/csharp/update-educationassignment-csharp-snippets.md)]
88-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
89-
90-
# [CLI](#tab/cli)
91-
[!INCLUDE [sample-code](../includes/snippets/cli/update-educationassignment-cli-snippets.md)]
92-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
93-
94-
# [Go](#tab/go)
95-
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignment-go-snippets.md)]
96-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
97-
98-
# [Java](#tab/java)
99-
[!INCLUDE [sample-code](../includes/snippets/java/update-educationassignment-java-snippets.md)]
100-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
101-
102-
# [JavaScript](#tab/javascript)
103-
[!INCLUDE [sample-code](../includes/snippets/javascript/update-educationassignment-javascript-snippets.md)]
104-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
105-
106-
# [PHP](#tab/php)
107-
[!INCLUDE [sample-code](../includes/snippets/php/update-educationassignment-php-snippets.md)]
108-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
109-
110-
# [PowerShell](#tab/powershell)
111-
[!INCLUDE [sample-code](../includes/snippets/powershell/update-educationassignment-powershell-snippets.md)]
112-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
113-
114-
# [Python](#tab/python)
115-
[!INCLUDE [sample-code](../includes/snippets/python/update-educationassignment-python-snippets.md)]
116-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
117-
118-
---
119-
12086
### Response
12187
The following example shows the response.
12288

@@ -149,7 +115,7 @@ Content-type: application/json
149115
"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%2272a7baec-c3e9-4213-a850-f62de0adad5f%5C%22,%5C%22displayName%5C%22%3Anull,%5C%22assignmentIds%5C%22%3A%5B%5C%224679bc1b-90c5-45af-ae1a-d5357672ed39%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22%7D%22,%22channelId%22%3Anull%7D",
150116
"addToCalendarAction": "studentsAndPublisher",
151117
"addedStudentAction": "none",
152-
"languageTag": "en-US",
118+
"languageTag": "pt-BR",
153119
"id": "4679bc1b-90c5-45af-ae1a-d5357672ed39",
154120
"instructions": {
155121
"content": "Read chapter 5 and write your review",

api-reference/beta/api/educationmodule-update.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ If successful, this method returns a `200 OK` response code and an updated [educ
5353
### Request
5454
The following example shows a request.
5555

56-
# [HTTP](#tab/http)
5756
<!-- {
5857
"blockType": "request",
5958
"name": "update_educationmodule"
@@ -64,44 +63,11 @@ Content-type: application/json
6463
6564
{
6665
"displayName": "New_Module5 updated",
66+
"languageTag": "en-GB",
6767
"description": "updated for description"
6868
}
6969
```
7070

71-
# [C#](#tab/csharp)
72-
[!INCLUDE [sample-code](../includes/snippets/csharp/update-educationmodule-csharp-snippets.md)]
73-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74-
75-
# [CLI](#tab/cli)
76-
[!INCLUDE [sample-code](../includes/snippets/cli/update-educationmodule-cli-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Go](#tab/go)
80-
[!INCLUDE [sample-code](../includes/snippets/go/update-educationmodule-go-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [Java](#tab/java)
84-
[!INCLUDE [sample-code](../includes/snippets/java/update-educationmodule-java-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [JavaScript](#tab/javascript)
88-
[!INCLUDE [sample-code](../includes/snippets/javascript/update-educationmodule-javascript-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PHP](#tab/php)
92-
[!INCLUDE [sample-code](../includes/snippets/php/update-educationmodule-php-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [PowerShell](#tab/powershell)
96-
[!INCLUDE [sample-code](../includes/snippets/powershell/update-educationmodule-powershell-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
99-
# [Python](#tab/python)
100-
[!INCLUDE [sample-code](../includes/snippets/python/update-educationmodule-python-snippets.md)]
101-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
102-
103-
---
104-
10571
### Response
10672
The following example shows the response.
10773

@@ -125,7 +91,7 @@ Content-type: application/json
12591
"status": "published",
12692
"createdDateTime": "2023-06-21T17:25:44.1277744Z",
12793
"lastModifiedDateTime": "2023-06-21T18:21:39.8114768Z",
128-
"languageTag": null,
94+
"languageTag": "en-GB",
12995
"id": "ba8e4215-4fb2-4dba-abe7-a8f2585177d3",
13096
"createdBy": {
13197
"application": null,

0 commit comments

Comments
 (0)