{
"data": {
"type": "AssignmentGroupCourseVersion",
"attributes": {
"publishStrategy": "new-enrollees"
},
"relationships": {
"assignmentGroup": {
"data": {
"id": "FID001",
"type": "AssignmentGroup"
}
},
"backgroundJob": {
"data": {
"id": "FID001",
"type": "BackgroundJob"
}
},
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/assignment-group-course-versions' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "AssignmentGroupCourseVersion",
"attributes": {
"publishStrategy": "new-enrollees"
},
"relationships": {
"assignmentGroup": {
"data": {
"id": "FID001",
"type": "AssignmentGroup"
}
},
"backgroundJob": {
"data": {
"id": "FID001",
"type": "BackgroundJob"
}
},
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "AssignmentGroupCourseVersion",
"attributes": {
"id": "string",
"publishStrategy": "new-enrollees"
},
"relationships": {
"assignmentGroup": {
"data": {
"id": "FID001",
"type": "AssignmentGroup"
}
},
"backgroundJob": {
"data": {
"id": "FID001",
"type": "BackgroundJob"
}
},
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
}
}
}
}