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