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
>**Note:** You can't use this operation to create an [educationExternalResource](../resources/educationexternalresource.md).
65
67
66
68
## Response
67
69
If successful, this method returns a `201 Created` response code and an [educationAssignmentResource](../resources/educationassignmentresource.md) object in the response body.
68
70
71
+
This method also returns a `400 Bad Request` response code when an invalid request body is provided for the **educationSpeakerProgressResource** assignment resource in the following scenarios:
72
+
73
+
- The distributable resource attach limit is exceeded.
74
+
- No speaker coach setting or AI feedback is enabled.
75
+
- AI feedback is enabled, but the AI feedback criteria are null.
76
+
- AI feedback is enabled, but no settings are enabled in the AI feedback criteria.
77
+
- AI feedback is enabled, but **aiFeedbackCriteria.speechType** has an invalid value.
78
+
- AI feedback criteria have settings enabled, but AI feedback isn't enabled.
79
+
-**aiFeedbackCriteria.speechType** is set, but AI feedback isn't enabled.
80
+
-**recordingTimeLimitInMinutes** isn't between 1 and 10 (inclusive).
81
+
-**maxRecordingAttempts** isn't between 0 and 10 (inclusive).
### Example 8: Create an educationSpeakerProgressResource
819
+
820
+
The following example shows how to create an [educationSpeakerProgressResource](../resources/educationspeakerprogressresource.md) assignment resource.
821
+
822
+
#### Request
823
+
824
+
The following example shows a request.
825
+
826
+
<!-- {
827
+
"blockType": "request",
828
+
"name": "create_educationSpeakerProgressResource"
829
+
}
830
+
-->
831
+
```http
832
+
POST https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/fe9c8d6f-baad-4b5e-b9d5-e2bb33e4ed19/resources
GET https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/fe9c8d6f-baad-4b5e-b9d5-e2bb33e4ed19/resources/af98a1e1-3393-4ee0-8bcc-8b5bb4598d1c
608
+
```
609
+
610
+
### Response
611
+
612
+
The following example shows the response.
613
+
>**Note:** The response object shown here might be shortened for readability.
Represents the audience engagement-related feedback types that students should receive from the AI feedback.
19
+
20
+
21
+
## Properties
22
+
|Property|Type|Description|
23
+
|:---|:---|:---|
24
+
|areEngagementStrategiesEnabled|Boolean|Indicates whether the student should receive feedback on their engagement strategies from the AI feedback.|
25
+
|isCallToActionEnabled|Boolean|Indicates whether the student should receive feedback on their call to action from the AI feedback.|
26
+
|isEmotionalAndIntellectualAppealEnabled|Boolean|Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback.|
27
+
28
+
## Relationships
29
+
None.
30
+
31
+
## JSON representation
32
+
The following JSON representation shows the resource type.
0 commit comments