EducationRubric の更新
名前空間: microsoft.graph
educationRubric オブジェクトのプロパティを更新します。
割り当て ( ) に接続されたルーブリックの更新は、割り当てが公開される前にのみ可能であり、更新されるのは実際には、 の下に存在する元のルーブリック PATCH /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric です /education/users/{id}/rubrics 。 割り当てが発行された後、その特定の割り当てに関連付けられたルーブリックの変更できないコピーが作成されます。 このルーブリックは 、GET/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a5332006454/rubricを使用して取得できますが、更新できません。
アクセス許可
この API を呼び出すには、次のいずれかのアクセス許可が必要です。アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。
| アクセス許可の種類 | アクセス許可 (特権の小さいものから大きいものへ) |
|---|---|
| 委任 (職場または学校のアカウント) | EduAssignments.ReadWriteBasic, EduAssignments.ReadWrite |
| 委任 (個人用 Microsoft アカウント) | サポートされていません。 |
| アプリケーション | サポートされていません。 |
HTTP 要求
PATCH /education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d
PATCH /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric
要求ヘッダー
| 名前 | 説明 |
|---|---|
| Authorization | ベアラー {トークン} |
要求本文
要求本文で、更新する関連フィールドの値を指定します。 要求本文に含まれない既存のプロパティは、以前の値のままになるか、他のプロパティ値の変化に基づいて再計算されます。 最適なパフォーマンスを得るために、変更されていない既存の値を含めないでください。
| プロパティ | 種類 | 説明 |
|---|---|---|
| description | itemBody | このルーブリックの説明。 |
| displayName | 文字列 | このルーブリックの名前。 |
| グレーディング | educationAssignmentGradeType | ルーブリックの採点の種類。 null これがポイントを含むルーブリックと educationAssignmentPointsGradeType の場合は、ポイントを含むルーブリックです。 |
| レベル | rubricLevel コレクション | このルーブリックを構成するレベルのコレクション。 |
| 品質 | rubricQuality コレクション | このルーブリックを構成する品質のコレクション。 |
応答
成功した場合、このメソッドは応答コードと、応答本文で 200 OK 更新された educationRubric オブジェクトを返します。
例
要求
要求の例を次に示します。
PATCH https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d
Content-type: application/json
{
"displayName": "Example Credit Rubric after display name patch"
}
応答
応答の例を次に示します。
注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。
HTTP/1.1 200 OK
Content-type: application/json
{
"displayName": "Example Credit Rubric after display name patch",
"id": "c4459fcb-a761-4f70-ac5b-e9466cb77c2a",
"description": {
"content": "This is an example of a credit rubric (no points)",
"contentType": "text"
},
"levels": [
{
"levelId": "dec665d4-cf1b-4481-ac61-1d5b6188f4f5",
"displayName": "Good",
"description": {
"content": "",
"contentType": "text"
}
},
{
"levelId": "3f2e4b0f-508e-4005-984b-17e061bc5377",
"displayName": "Poor",
"description": {
"content": "",
"contentType": "text"
}
}
],
"qualities": [
{
"qualityId": "dc79dcbf-b536-4797-9c5b-902f28129fd0",
"description": {
"content": "Argument",
"contentType": "text"
},
"criteria": [
{
"id": "8937fa15-4a7c-4f27-bd01-ca3471d2d1d5",
"description": {
"content": "The essay's argument is persuasive.",
"contentType": "text"
}
},
{
"id": "4dfb5263-1d3f-4f0a-93ef-d24d800d0f69",
"description": {
"content": "The essay's argument does not make sense.",
"contentType": "text"
}
}
]
},
{
"qualityId": "7e087062-ac25-4629-8386-a946350936db",
"description": {
"content": "Spelling and Grammar",
"contentType": "text"
},
"criteria": [
{
"id": "12276eb2-122c-4ad2-ba92-335ea798c88e",
"description": {
"content": "The essay uses proper spelling and grammar with few or no errors.",
"contentType": "text"
}
},
{
"id": "3db7e6b2-2b1b-4f8e-9fca-bea701159145",
"description": {
"content": "The essay has numerous errors in spelling and/or grammar.",
"contentType": "text"
}
}
]
}
]
}
フィードバック
フィードバックの送信と表示