{
"data": {
"id": "FID001",
"type": "AssignmentItemScorm",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"status": "locked",
"isReviewRequired": true
},
"relationships": {
"scorm": {
"data": {
"id": "FID001",
"type": "ScormCourse"
}
},
"result": {
"data": {
"id": "FID001",
"type": "AssignmentScormResult"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/assignment-item-scorms/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "AssignmentItemScorm",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"status": "locked",
"isReviewRequired": true
},
"relationships": {
"scorm": {
"data": {
"id": "FID001",
"type": "ScormCourse"
}
},
"result": {
"data": {
"id": "FID001",
"type": "AssignmentScormResult"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "AssignmentItemScorm",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"timeSpentInMinutes": 0,
"status": "locked",
"isReviewRequired": true,
"type": "AssignmentItemScorm",
"launchUrl": "http://example.com"
},
"relationships": {
"assignment": {
"data": {
"id": "FID001",
"type": "Assignment"
}
},
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"internalReview": {
"data": {
"id": "FID001",
"type": "InternalReview"
}
},
"sharedReview": {
"data": {
"id": "FID001",
"type": "SharedReview"
}
},
"scorm": {
"data": {
"id": "FID001",
"type": "ScormCourse"
}
},
"result": {
"data": {
"id": "FID001",
"type": "AssignmentScormResult"
}
}
}
}
}