{
"data": {
"id": "FID001",
"type": "ExternalExamSitting",
"attributes": {
"score": 0,
"date": "string"
},
"relationships": {}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/external-exam-sittings/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "ExternalExamSitting",
"attributes": {
"score": 0,
"date": "string"
},
"relationships": {}
}
}'
{
"data": {
"id": "FID001",
"type": "ExternalExamSitting",
"attributes": {
"score": 0,
"date": "string",
"isPassed": true
},
"relationships": {
"mock": {
"data": {
"id": "FID001",
"type": "CollectionMock"
}
}
}
}
}