curl --location 'http://localhost:6567/api/v1/api/v1/units//final-exams//attempts/submit' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"answers": [
{
"questionId": "string",
"selectedOptionIds": [
"string"
]
}
]
}'{
"attemptId": "attempt-001",
"score": 85,
"totalQuestions": 10,
"correctAnswers": 8,
"passed": true,
"submittedAt": "2024-01-20T11:45:00Z"
}