POST Questions/AutoCode/{QuestionKey}
AutoCodes Responses in the specified Question
There are three types of AutoCoding available, and will be executed in a certain order. See the documentation for the body of the POST.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionKey |
The key of the question, which must be an integer value |
integer |
Required |
Body Parameters
Auto coding options
AutoCodeQuestionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| autoCodeInputId |
If set to True, it will attempt to Auto Code based on a code's Input ID (Closed ends and Other Specifies only). |
boolean |
None. |
| autoCodeByRegex |
If set to True, it will attempt to Auto Code responses via the codes' Regular Expressions. |
boolean |
None. |
| autoCodeTextMatch |
If true, this will attempt to AutoCode responses based on an exact (but case insensitive) text match with previously-coded responses. This AutoCode will execute first, followed by (if requested) Input ID matching and Regular Expression matching. |
boolean |
None. |
Response Information
AutoCodes Responses in the specified Question
There are three types of AutoCoding available, and will be executed in a certain order. See the documentation for the body of the POST.
| Name | Description | Type | Additional information |
|---|---|---|---|
| codesAdded | integer |
None. |
|
| errors |
If null the request was processed without error. If not null errors occurred while processing the request. The array contains the error messages. |
Collection of string |
None. |