POST Questions/AutoCode/{QuestionKey}

AutoCodes responses in a given question.
There are three types of AutoCoding available, and will be executed in a certain order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
QuestionKey

The key of the question, which must be an integer value

integer

Required

Body Parameters

Options of how to execute the AutoCode procedure(s)

AutoCodeQuestionRequest
NameDescriptionTypeAdditional 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).
This AutoCode will execute after the Text Match and before the Regular Expression match, if either is enabled.

boolean

None.

autoCodeByRegex

If set to True, it will attempt to Auto Code responses via the codes' Regular Expressions.
This AutoCode will execute after the Text Match and Input ID match, if enabled.

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 a given question.
There are three types of AutoCoding available, and will be executed in a certain order.

AutoCodeQuestionResponse
NameDescriptionTypeAdditional 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.