GetAssessmentSnapshotResponseConstraints

Applies to the following products: 
Questionmark OnDemand
Questionmark Perception
Questionmark OnPremise
Applies to the following Perception versions: 
Perception 5.7

This method retrieves a summarised XML representation of the responses accepted to a previously created assessment snapshot. This allows an external system to validate the answers before calling ScoreAssessmentSnapshot. The number of questions, the number of permitted choices for each question and the permitted value of the choices can be checked. The Snapshot_ID is passed in and some data on the allowed responses is passed back.

This method requires a QMWISe license with snapshots enabled for it to function. If the method is used without the appropriate license an error message will be returned.

 

Available in:
  • Version 4.3 +
  • Version 5.1 +

Parameters

Input name Description Data type Optional field?

Snapshot_ID

The unique Snapshot_ID of the snapshot you to view the response constraints for

Integer

N

Response

Output name   Description Data type

Snapshot_ID

 

The unique Snapshot_ID

Integer

Number_Of_Questions

 

The number of questions in the assessment

Integer

ResponseList

     
 

choice_type

Can be one of the following:

  • id
  • string
  • number
  • coord

String

 

choice_max

The maximum number of choices accepted

Integer

 

choice_num

The number of choices in the question

Integer

Troubleshooting

Please refer to the following page for any error codes that are displayed when using this method.

Appendix - Error codes