{
"data": {
"id": "FID001",
"type": "CourseItemNote",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"isReviewRequired": true
},
"relationships": {
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
},
"note": {
"data": {
"id": "FID001",
"type": "Note"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/course-item-note/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "CourseItemNote",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"isReviewRequired": true
},
"relationships": {
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
},
"note": {
"data": {
"id": "FID001",
"type": "Note"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "CourseItemNote",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"type": "note",
"isReviewRequired": true
},
"relationships": {
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
},
"note": {
"data": {
"id": "FID001",
"type": "Note"
}
}
}
}
}