{
"data": {
"id": "FID001",
"type": "PlayerShortAnswerResponse",
"attributes": {
"status": "unanswered",
"mediaStemPlaybackCount": 0,
"answer": "string"
},
"relationships": {
"feedbackImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"section": {
"data": {
"id": "FID001",
"type": "PlayerSection"
}
},
"emqGroup": {
"data": {
"id": "FID001",
"type": "PlayerEmqGroup"
}
},
"audioStem": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/player-short-answer-responses/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "PlayerShortAnswerResponse",
"attributes": {
"status": "unanswered",
"mediaStemPlaybackCount": 0,
"answer": "string"
},
"relationships": {
"feedbackImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"section": {
"data": {
"id": "FID001",
"type": "PlayerSection"
}
},
"emqGroup": {
"data": {
"id": "FID001",
"type": "PlayerEmqGroup"
}
},
"audioStem": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "PlayerShortAnswerResponse",
"attributes": {
"status": "unanswered",
"resultsStatus": "correct",
"questionType": "audioRecording",
"questionReferenceId": "string",
"questionReferenceDoi": "string",
"name": "string",
"leadIn": "string",
"stem": "string",
"timerDurationMs": 0,
"hideStemImage": true,
"layout": "swimLane",
"mediaStemType": "audio",
"mediaStemPlaybackCount": 0,
"audioStemPlayBackLimit": 0,
"audioStemAutoPlay": true,
"audioStemDisableProgression": true,
"audioStemHideOptions": true,
"audioStemAutoAdvance": "afterDefinedTime",
"audioStemAdvanceEnforceFullTime": true,
"audioStemAutoAdvanceDelay": 0,
"audioStemDisableControls": true,
"hideStemDuration": 0,
"feedback": "string",
"credit": 0,
"penalty": 0,
"maxPoints": 0,
"points": 0,
"markingOutcome": "correct",
"answer": "string",
"caseMatch": true,
"disableSpellcheck": 0
},
"relationships": {
"feedbackImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"section": {
"data": {
"id": "FID001",
"type": "PlayerSection"
}
},
"emqGroup": {
"data": {
"id": "FID001",
"type": "PlayerEmqGroup"
}
},
"audioStem": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
}
}