Authorization: Bearer ********************{
"session_id": "01ca6cbe1a884536bbf79aa3f8ee8ecf",
"answers": [
{
"type": "classic_scenario",
"question_id": 9,
"option_id": 35,
"response_time": 7
},
{
"type": "classic_scenario",
"question_id": 10,
"option_id": 39,
"response_time": 9
},
{
"type": "classic_scenario",
"question_id": 11,
"option_id": 43,
"response_time": 8
},
{
"type": "classic_scenario",
"question_id": 12,
"option_id": 46,
"response_time": 6
},
{
"type": "classic_scenario",
"question_id": 13,
"option_id": 51,
"response_time": 10
},
{
"type": "classic_scenario",
"question_id": 14,
"option_id": 55,
"response_time": 11
},
{
"type": "word_choice",
"question_id": 15,
"option_ids": [
59,
63,
65
],
"response_time": 9
},
{
"type": "image_preference",
"question_id": 16,
"option_ids": [
72,
73
],
"response_time": 5
},
{
"type": "image_preference",
"question_id": 17,
"option_ids": [
76,
79
],
"response_time": 7
},
{
"type": "value_balance",
"question_id": 18,
"values": {
"R": 65.0,
"I": 70.0,
"A": 55.0,
"S": 60.0,
"E": 50.0,
"C": 45.0
},
"response_time": 12
},
{
"type": "time_allocation",
"question_id": 19,
"allocations": {
"R": 2.0,
"I": 2.0,
"A": 2.0,
"S": 2.0,
"E": 1.0,
"C": 1.0
},
"response_time": 14
}
]
}curl --location --request POST '/api/quiz/answer' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"session_id": "01ca6cbe1a884536bbf79aa3f8ee8ecf",
"answers": [
{
"type": "classic_scenario",
"question_id": 9,
"option_id": 35,
"response_time": 7
},
{
"type": "classic_scenario",
"question_id": 10,
"option_id": 39,
"response_time": 9
},
{
"type": "classic_scenario",
"question_id": 11,
"option_id": 43,
"response_time": 8
},
{
"type": "classic_scenario",
"question_id": 12,
"option_id": 46,
"response_time": 6
},
{
"type": "classic_scenario",
"question_id": 13,
"option_id": 51,
"response_time": 10
},
{
"type": "classic_scenario",
"question_id": 14,
"option_id": 55,
"response_time": 11
},
{
"type": "word_choice",
"question_id": 15,
"option_ids": [
59,
63,
65
],
"response_time": 9
},
{
"type": "image_preference",
"question_id": 16,
"option_ids": [
72,
73
],
"response_time": 5
},
{
"type": "image_preference",
"question_id": 17,
"option_ids": [
76,
79
],
"response_time": 7
},
{
"type": "value_balance",
"question_id": 18,
"values": {
"R": 65.0,
"I": 70.0,
"A": 55.0,
"S": 60.0,
"E": 50.0,
"C": 45.0
},
"response_time": 12
},
{
"type": "time_allocation",
"question_id": 19,
"allocations": {
"R": 2.0,
"I": 2.0,
"A": 2.0,
"S": 2.0,
"E": 1.0,
"C": 1.0
},
"response_time": 14
}
]
}'{
"msg": "string"
}