updateQuestion

Description
This transaction updates the details of a Question.
Web Services
Operation name: updateQuestion
Service name: DWLBusinessServices
Example
  • A Customer Service Representative (CSR) changes a Question from What is your level of investment knowledge? to How do you rate your investment knowledge? The Answer is no longer optional.
  • Along with the details of a Question, a CSR changes one of its possible Answers from Medium to Low to Medium.
  • A CSR changes a possible Answer by adding Very High to the Question What is your risk preference?
Usage information
The QuestionType can be modified from one type to another. These types are definable through code tables.

The MandatoryIndicator can be changed from Y to N to make the Question mandatory or optional.

The parent Question can be changed to link the Question to another parent Question.

The AnswerCardinality can be modified to change the number of answers expected for the EnumeratedAnswer.

The order can be modified to alter the order in which Questions appear in the Questionnaire.

The language of the Question or associated EnumeratedAnswer cannot be updated.

This service can be used as a coarse-grained transaction to update a Question and EnumeratedAnswer at the same time.

Preconditions
The Questionnaire must be in Draft state.
Mandatory input
  • QuestionId
  • LanguageType
  • QuestionType
  • Question (if adding a new translation)
  • AnswerDataType
  • QuestionLastUpdateDate
  • NLSQuestionLastUpdateDate
Inquiry levels
Not applicable
Filter values
Not applicable
Transaction behavior
This transaction can be used to add a new translation to an existing Question by providing the QuestionId and QuestionLastUpdatedDate of the Question record.

When using this transaction to update a Question in an existing translation, the QuestionId, LanguageType and the NLSQuestionLastUpdatedDate of the NLS Question record must be provided.

Request message
<TCRMTxType> updateQuestion

<TCRMTxObject> QuestionBObj

<TCRMObject> QuestionBObj

with one or more optional EnumeratedAnswerBObj business objects

Response objects
QuestionBObj

with optional EnumeratedAnswerBObj business objects

Special note
Not applicable