{
"data": {
"id": "FID001",
"type": "MarkableResponse",
"attributes": {
"outcome": "correct",
"credit": 0,
"penalty": 0,
"markSchemeCriterion": [
{
"label": "string",
"maxCredits": 0,
"description": "string",
"credit": 0
}
],
"markSchemeCustomMarkingEnabled": true,
"markSchemeCustomMarkingMaxCredits": 0,
"markSchemeCustomMarkingstrategy": "cap",
"candidateFeedback": "string",
"markersNotes": "string"
},
"relationships": {
"response": {
"data": {
"id": "FID001",
"type": "Response"
}
},
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"candidate": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/markable-responses/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "MarkableResponse",
"attributes": {
"outcome": "correct",
"credit": 0,
"penalty": 0,
"markSchemeCriterion": [
{
"label": "string",
"maxCredits": 0,
"description": "string",
"credit": 0
}
],
"markSchemeCustomMarkingEnabled": true,
"markSchemeCustomMarkingMaxCredits": 0,
"markSchemeCustomMarkingstrategy": "cap",
"candidateFeedback": "string",
"markersNotes": "string"
},
"relationships": {
"response": {
"data": {
"id": "FID001",
"type": "Response"
}
},
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"candidate": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "MarkableResponse",
"attributes": {
"maxPoints": 0,
"outcome": "correct",
"points": 0,
"credit": 0,
"penalty": 0,
"markSchemeCriterion": [
{
"label": "string",
"maxCredits": 0,
"description": "string",
"credit": 0
}
],
"markSchemeCustomMarkingEnabled": true,
"markSchemeCustomMarkingMaxCredits": 0,
"markSchemeCustomMarkingstrategy": "cap",
"markerEntries": [
{
"entryIndex": 0,
"markerId": "string",
"marker": {
"id": "string",
"name": "string",
"profileImageURL": "string"
},
"marks": {},
"timestamp": "string"
}
],
"questionData": {},
"isCorrect": true,
"options": [
{}
],
"chosenOptions": [
{}
],
"correctOptions": [
{}
],
"candidateFeedback": "string",
"markersNotes": "string",
"sessionType": "provisional",
"sessionStatus": "waiting"
},
"relationships": {
"response": {
"data": {
"id": "FID001",
"type": "Response"
}
},
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"candidate": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}