Submit the user's selected answers to score the quiz and receive the final decision.
Search type
Use
KBAas the value for thegalaxy-search-typeheader /requestTypefield.
Session identifiers
CorrelationIdandAuthenticationIdmust match the values returned from Step 1 exactly. Mismatched or expired IDs will return an input error.
Session
| Field | Type | Required | Description |
|---|---|---|---|
CorrelationId | string (UUID) | ✅ | Echo the correlationId from the Step 1 response. |
AuthenticationId | string (UUID) | ✅ | Echo kba.authenticationId from the Step 1 response. |
QuestionnaireId | integer | ✅ | Echo kba.questionnaire.questionnaireId from the Step 1 response. |
Answers
| Field | Type | Required | Description |
|---|---|---|---|
QuestionAnswers | array | ✅ | One entry per question presented to the user. Must include all questions from the Step 1 questionnaire. |
QuizMode | string | — | Strict or Loose. Defaults to the value used in Step 1 if omitted. |
QuestionAnswer
| Field | Type | Description |
|---|---|---|
QuestionId | integer | The questionId from the Step 1 questionnaire. |
Answer | array | Array of selected choiceId values. For SINGLE_CHOICE questions, this array contains exactly one integer. |
Example request
{
"CorrelationId": "5f8d7f10-4975-4557-92b2-b956257a16b9",
"AuthenticationId": "2352ace6-9732-4168-b417-a12d4d0d1a1f",
"QuestionnaireId": 1,
"QuestionAnswers": [
{ "QuestionId": 1, "Answer": [5] },
{ "QuestionId": 2, "Answer": [5] },
{ "QuestionId": 3, "Answer": [5] }
],
"QuizMode": "Loose"
}
