Second Post Request

Submit the user's selected answers to score the quiz and receive the final decision.

❗️

Search type

Use KBA as the value for the galaxy-search-type header / requestType field.

📘

Session identifiers

CorrelationId and AuthenticationId must match the values returned from Step 1 exactly. Mismatched or expired IDs will return an input error.

Session

FieldTypeRequiredDescription
CorrelationIdstring (UUID)Echo the correlationId from the Step 1 response.
AuthenticationIdstring (UUID)Echo kba.authenticationId from the Step 1 response.
QuestionnaireIdintegerEcho kba.questionnaire.questionnaireId from the Step 1 response.

Answers

FieldTypeRequiredDescription
QuestionAnswersarrayOne entry per question presented to the user. Must include all questions from the Step 1 questionnaire.
QuizModestringStrict or Loose. Defaults to the value used in Step 1 if omitted.

QuestionAnswer

FieldTypeDescription
QuestionIdintegerThe questionId from the Step 1 questionnaire.
AnswerarrayArray 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"
}