{
"data": {
"id": "FID001",
"type": "MarkingSession",
"attributes": {
"role": "provisional",
"mode": "attempt",
"status": "pending",
"createdAt": "string",
"timeStarted": "string",
"timeCompleted": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"candidate": {
"data": {
"id": "FID001",
"type": "User"
}
},
"markingEntries": {
"data": [
{
"id": "FID001",
"type": "MarkingEntry"
}
]
},
"exam": {
"data": {
"id": "FID001",
"type": "Exam-V-2"
}
},
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
},
"legacyResponses": {
"data": [
{
"id": "FID001",
"type": "Response"
}
]
},
"responses": {
"data": [
{
"id": "FID001",
"type": "PlayerAudioResponse"
}
]
},
"questions": {
"data": [
{
"id": "FID001",
"type": "QuizQuestion"
}
]
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/marking-sessions/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "MarkingSession",
"attributes": {
"role": "provisional",
"mode": "attempt",
"status": "pending",
"createdAt": "string",
"timeStarted": "string",
"timeCompleted": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"candidate": {
"data": {
"id": "FID001",
"type": "User"
}
},
"markingEntries": {
"data": [
{
"id": "FID001",
"type": "MarkingEntry"
}
]
},
"exam": {
"data": {
"id": "FID001",
"type": "Exam-V-2"
}
},
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
},
"legacyResponses": {
"data": [
{
"id": "FID001",
"type": "Response"
}
]
},
"responses": {
"data": [
{
"id": "FID001",
"type": "PlayerAudioResponse"
}
]
},
"questions": {
"data": [
{
"id": "FID001",
"type": "QuizQuestion"
}
]
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "MarkingSession",
"attributes": {
"role": "provisional",
"mode": "attempt",
"status": "pending",
"createdAt": "string",
"timeStarted": "string",
"timeCompleted": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"candidate": {
"data": {
"id": "FID001",
"type": "User"
}
},
"markingEntries": {
"data": [
{
"id": "FID001",
"type": "MarkingEntry"
}
]
},
"exam": {
"data": {
"id": "FID001",
"type": "Exam-V-2"
}
},
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
},
"legacyResponses": {
"data": [
{
"id": "FID001",
"type": "Response"
}
]
},
"responses": {
"data": [
{
"id": "FID001",
"type": "PlayerAudioResponse"
}
]
},
"questions": {
"data": [
{
"id": "FID001",
"type": "QuizQuestion"
}
]
}
}
}
}