Get educationRubric attached to educationAssignment
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ❌ | ❌ | ❌ |
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | EduAssignments.ReadBasic | EduAssignments.Read, EduAssignments.ReadWrite, EduAssignments.ReadWriteBasic |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | EduAssignments.ReadBasic.All | EduAssignments.Read.All, EduAssignments.ReadWrite.All, EduAssignments.ReadWriteBasic.All |
HTTP request
GET /education/classes/{id}/assignments/{id}/rubric
Optional query parameters
This method supports the $top
,and $select
OData query parameters to help customize the response. For general information, see OData query parameters.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and an educationRubric object in the response body.
Examples
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-type: application/json
{
"displayName": "Example Points Rubric",
"id": "bf040af7-a5ff-4abe-a8c8-1bdc532344c2",
"description": {
"content": "This is an example of a rubric with points",
"contentType": "text"
},
"levels": [
{
"levelId": "519cd134-c513-40b9-aa71-fdb0d063c084",
"displayName": "Good",
"description": {
"content": "",
"contentType": "text"
},
"grading": {
"@odata.type": "#microsoft.graph.educationAssignmentPointsGradeType",
"maxPoints": 2
}
},
{
"levelId": "db2a0c91-abef-44cb-b8b1-ef1f85ef4a77",
"displayName": "Poor",
"description": {
"content": "",
"contentType": "text"
},
"grading": {
"@odata.type": "#microsoft.graph.educationAssignmentPointsGradeType",
"maxPoints": 1
}
}
],
"qualities": [
{
"qualityId": "bbf3fb4a-a794-4b51-a1ad-c22fb891c5d8",
"weight": 50.0,
"description": {
"content": "Argument",
"contentType": "text"
},
"criteria": [
{
"id": "5e637d79-f26b-4ea6-acd7-73824f0c0967",
"description": {
"content": "The essay's argument is persuasive.",
"contentType": "text"
}
},
{
"id": "ebdcc27f-d1ec-4aa3-9da7-bd8d7842e3d3",
"description": {
"content": "The essay's argument does not make sense.",
"contentType": "text"
}
}
]
},
{
"qualityId": "ebe97fd7-47f7-4e9a-b31b-221ad731fc5a",
"weight": 50.0,
"description": {
"content": "Spelling and Grammar",
"contentType": "text"
},
"criteria": [
{
"id": "5417252a-f810-41eb-9a83-09276a258a08",
"description": {
"content": "The essay uses proper spelling and grammar with few or no errors.",
"contentType": "text"
}
},
{
"id": "5de220bd-74b9-41a7-85d5-9be7c6cb7933",
"description": {
"content": "The essay has numerous errors in spelling and/or grammar.",
"contentType": "text"
}
}
]
}
],
"grading": {
"@odata.type": "#microsoft.graph.educationAssignmentPointsGradeType",
"maxPoints": 100
}
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for