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

NameDescriptionTypeAdditional information
QuestionKey

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

integer

Required

Body Parameters

Auto coding options

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

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.