Authorization: Bearer ********************curl --location 'http://localhost:3000/api/v1/culture-fit-assessments/submit' \
--header 'Authorization: Bearer <token>' \
--form 'answers="[{\"questionId\":1,\"selectedOptionId\":4},{\"questionId\":2,\"selectedOptionId\":9},{\"questionId\":3,\"selectedOptionId\":14},{\"questionId\":4,\"selectedOptionId\":19}]"' \
--form 'Screenshots=@""'{
"categoryScores": [
{
"categoryId": 1,
"score": 15,
"percentage": "75.00"
},
{
"categoryId": 2,
"score": 10,
"percentage": "50.00"
},
{
"categoryId": 3,
"score": 12,
"percentage": "60.00"
}
],
"dominantCategory": {
"categoryId": 1,
"score": 15,
"percentage": "75.00"
},
"results": [
{
"id": 1,
"score": 15,
"percentage": 75.00,
"createdAt": "2023-04-12T12:34:56.789Z",
"updatedAt": "2023-04-12T12:34:56.789Z",
"category": {
"id": 1,
"name": "Adhocracy",
"description": "A flexible, adaptable organizational style focused on innovation and agility."
},
"user": {
"id": 1,
"email": "johndoe@example.com",
"userId": "abc123"
}
}
]
}