CreateAssessmentResultInfoList

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

This method process a list of assessment information (which includes the assessment ID) and creates a new record in the A_Session table of the repository database for each assessment in the list, except for assessments in the list whose assessment ID already exists in the database. In this case, no action will be taken.

The number of new records created in the A_Session table will be returned in the SOAP response message.

The only information that must be provided is:

  • The assessment's unique assessment ID
  • The assessment name

A SOAP fault message will be returned if a database error occurs at any point during processing the list.

With this method:

  • The database field A_Session.Course is set to blank
  • The database field A_Session.Assessment_Type is set to 0 (quiz)

 

Available in:
  • Version 4.1 +
  • Version 5.1 +

Parameter

The input parameters are in the form of one or more sets of assessment result information. Each set contains the following information.

Input name

 

Description

Data type

Optional field?

AssessmentResultInfo

(may appear several times)

 

 

 

 

 

Assessment_ID

The unique assessment ID of the new assessment in the new assessment record

String

N

 

Revision

The revision number of the new assessment in the new assessment record (defaults to 1 if not set)

Integer

Y

 

Session_Name

The name of the new assessment in the new assessment record

String

Y

 

Session_Author

The name of the person who created the new assessment in the new assessment record (defaults to blank if not set)

String

Y

 

Whether_Time_Limit

Indicates whether there is a time limit for the new assessment in the new assessment record (defaults to FALSE if not set)

Boolean

Y

 

Time_Limit

The number of minutes for which the new assessment in the new assessment record is available (defaults to 0 if not set)

Integer

Y

 

Number_Sections

The number of question blocks in the new assessment in the new assessment record (defaults to 0 if not set)

Short

Y

 

Description

A description of the person who created the new assessment in the new assessment record (defaults to blank if not set)

String

Y

 

Last_Updated

The date on which the new assessment in the new assessment record was last updated (defaults to current date if not set)

String

Y

 

When_Modified

The date on which the new assessment in the new assessment record was last modified (defaults to current date if not set)

String

Y

Response

Output name Description Data type

NumberRecordsCreated

The number of new records created in the table

Integer

Troubleshooting

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

Appendix - Error codes