aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/api_fsb/docs/UserQuestionAnswerIn.md
blob: 38e306adaa477709e2854e0288869a29b3af9e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# UserQuestionAnswerIn

Send the answers to one or more questions for a user. A question is uniquely specified by the question_id key. The answer is: the choice_id if the question_type is \"MC\" the actual entered text if the question_type is \"TE\"  TODO: look up the question_type from the question_id to apply MC or     TE specific validation on the answer(s)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**question_id** | **string** |  | [default to undefined]
**answer** | **Array<string>** | The user\'s answers to this question. Must pass the choice_id if the question is a Multiple Choice, or the actual text if the question is Text Entry | [default to undefined]

## Example

```typescript
import { UserQuestionAnswerIn } from './api';

const instance: UserQuestionAnswerIn = {
    question_id,
    answer,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)