{
"data": {
"type": "LearningRecord",
"attributes": {
"name": "string",
"score": 0,
"achievedOn": "string",
"visibleToStudent": true,
"attr": {}
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/learning-records' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "LearningRecord",
"attributes": {
"name": "string",
"score": 0,
"achievedOn": "string",
"visibleToStudent": true,
"attr": {}
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "LearningRecord",
"attributes": {
"name": "string",
"score": 0,
"achievedOn": "string",
"visibleToStudent": true,
"attr": {}
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}