{
"data": {
"type": "CourseItemTextEntry",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"isReviewRequired": true,
"wordLimit": 0,
"multiLine": true
},
"relationships": {
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/course-item-text-entry' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "CourseItemTextEntry",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"isReviewRequired": true,
"wordLimit": 0,
"multiLine": true
},
"relationships": {
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "CourseItemTextEntry",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"type": "textEntry",
"isReviewRequired": true,
"wordLimit": 0,
"multiLine": true
},
"relationships": {
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
}
}
}
}