You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/education-hub/add-student-api.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom: template-how-to
11
11
12
12
# Add students to a lab in Education Hub using REST APIs
13
13
14
-
This article will walk you through how to add students to a lab.
14
+
This article walks through how to add students to a lab.
15
15
16
16
## Prerequisites
17
17
@@ -21,15 +21,15 @@ This article will walk you through how to add students to a lab.
21
21
22
22
## Add students to the lab
23
23
24
-
After a lab has been created, call the endpoint below and make sure to replace the sections that are surrounded by <>.
24
+
After a lab has been created, call the add students endpoint and make sure to replace the sections that are surrounded by <>.
25
25
The invoice section ID must be the same invoice section ID of the lab you want to add this student to.
26
26
27
27
28
28
```json
29
29
PUT https://management.azure.com/providers/Microsoft.Billing/billingAccounts/<BillingAccountID>/billingProfiles/<BillingProfileID>/invoiceSections/<InvoiceSectionID>/providers/Microsoft.Education/labs/default/students/<StudentID>?api-version=2021-12-01-preview
30
30
```
31
31
32
-
Call the above API with a body similar to the one below. Change the body to include details of the student you want to add to the lab.
32
+
Call the API with a body similar to the following. Change the body to include details of the student you want to add to the lab.
33
33
34
34
```json
35
35
{
@@ -85,13 +85,13 @@ The API response returns details of the newly added student.
85
85
86
86
## Check the details of the students in a lab
87
87
88
-
Calling this API will allow us to see all of the students that are in the specified lab.
88
+
Calling this API allows to see all of the students that are in the specified lab.
89
89
90
90
```json
91
91
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/<BillingAccountID/billingProfiles/<BillingProfileID>/invoiceSections/<InvoiceSectionID>/providers/Microsoft.Education/labs/default/students?includeDeleted=true&api-version=2021-12-01-preview
92
92
```
93
93
94
-
The API response will include information about the students in the lab and will even show student that have been deleted from the lab (if the includeDeleted flag is set to true)
94
+
The API response includes information about the students in the lab.
Copy file name to clipboardExpand all lines: articles/education-hub/create-lab-education-hub.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom: template-how-to
11
11
12
12
# Create a lab in Azure Education Hub through REST APIs.
13
13
14
-
This article will walk you through how to create a lab and verify that the lab has been created.
14
+
This article walks you through how to create a lab and verify that the lab has been created.
15
15
16
16
## Prerequisites
17
17
@@ -24,7 +24,7 @@ This article will walk you through how to create a lab and verify that the lab h
24
24
PUT https://management.azure.com/providers/Microsoft.Billing/billingAccounts/<BillingAccountID>/billingProfiles/<BillingProfileID>/invoiceSections/<InvoiceSectionID>/providers/Microsoft.Education/labs/default?api-version=2021-12-01-preview
25
25
```
26
26
27
-
Call the above API with the body similar to the one below. Include your details for what the display name will be and how much budget you will allocate for this lab.
27
+
Call the create lab API with the body similar to the following. Include your details for the display name and how much budget you allocate for this lab.
28
28
29
29
```json
30
30
{
@@ -89,13 +89,13 @@ The API response returns details of the newly created lab. Congratulations, you
89
89
90
90
## Check the details of a lab
91
91
92
-
Now that the lab has been created and a student has been added to the lab, let's get the details for the lab. Getting the lab details will provide you with meta data like when the lab was created and how much budget it has. It will not include information about students in the lab.
92
+
Now that the lab has been created and a student has been added to the lab, let's get the details for the lab. Getting the lab details will provide you with meta data like when the lab was created and how much budget it has.
93
93
94
94
```json
95
95
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/<BillingAccountID>/billingProfiles/<BillingProfileID>/invoiceSections/<InvoiceSectionID>/providers/Microsoft.Education/labs/default?includeBudget=true&api-version=2021-12-01-preview
96
96
```
97
97
98
-
The API response will include information about the lab and budget information (if the include budget flag is set to true)
98
+
The API response includes information about the lab and budget information.
0 commit comments