{
"data": {
"id": "FID001",
"type": "AssignmentGroup",
"attributes": {
"name": "string",
"description": "string",
"shortDescription": "string",
"image": {
"url": "string"
},
"absoluteDeadline": "2019-08-24T14:15:22Z",
"relativeDeadline": "string",
"deadlineType": "indefinite",
"progressionType": "string",
"isReviewRequired": true,
"isArchived": true,
"status": "inactive",
"certificateTemplateId": "string",
"certificateIgnoreSubPortalBranding": true,
"certificateShareList": [
{
"label": "string",
"urlPrefix": "string"
}
],
"startDate": "string",
"endDate": "string"
},
"relationships": {
"reviewers": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/assignment-groups/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "AssignmentGroup",
"attributes": {
"name": "string",
"description": "string",
"shortDescription": "string",
"image": {
"url": "string"
},
"absoluteDeadline": "2019-08-24T14:15:22Z",
"relativeDeadline": "string",
"deadlineType": "indefinite",
"progressionType": "string",
"isReviewRequired": true,
"isArchived": true,
"status": "inactive",
"certificateTemplateId": "string",
"certificateIgnoreSubPortalBranding": true,
"certificateShareList": [
{
"label": "string",
"urlPrefix": "string"
}
],
"startDate": "string",
"endDate": "string"
},
"relationships": {
"reviewers": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "AssignmentGroup",
"attributes": {
"createdAt": "string",
"updatedAt": "string",
"name": "string",
"description": "string",
"shortDescription": "string",
"image": {
"url": "string"
},
"absoluteDeadline": "2019-08-24T14:15:22Z",
"relativeDeadline": "string",
"deadlineType": "indefinite",
"progressionType": "string",
"isReviewRequired": true,
"isActive": true,
"isPendingActivation": true,
"isCompleted": true,
"isArchived": true,
"status": "inactive",
"certificateTemplateId": "string",
"certificateIgnoreSubPortalBranding": true,
"certificateShareList": [
{
"label": "string",
"urlPrefix": "string"
}
],
"startDate": "string",
"endDate": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
},
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"sourceCourse": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"reviewers": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
}
}