{
"data": {
"type": "ProctorSession",
"attributes": {},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"examV2": {
"data": {
"id": "FID001",
"type": "Exam-V-2"
}
},
"user": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/proctor-sessions' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "ProctorSession",
"attributes": {},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"examV2": {
"data": {
"id": "FID001",
"type": "Exam-V-2"
}
},
"user": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "ProctorSession",
"attributes": {
"id": "string",
"sessionId": "string",
"token": "string",
"enabled": true,
"breaches": 0,
"requiresReview": true,
"isApproved": true,
"url": "string",
"isFinalised": true
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"examV2": {
"data": {
"id": "FID001",
"type": "Exam-V-2"
}
},
"user": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}