82
Chapter 4: Action Reference
Returned elements
report-quiz-answer-distribution
Sample results
The following XML contains attributes for answer options 1 through 8, even if the quiz question
has fewer possible answers:
<results>
<status code="ok" />
<report-quiz-answer-distribution>
<row question-number="1" question-id="257" a1="0" a2="1" a3="0" a4="1"
a5="0" a6="0" a7="0" a8="0" total="2">
<body>Who is Randy Johnson ?</body>
</row>
<row question-number="2" question-id="259" a1="1" a2="0" a3="1" a4="0"
a5="0" a6="0" a7="0" a8="0" total="2">
<body>Who is Allan Iverson ?</body>
</row>
</report-quiz-answer-distribution>
</results>
When the SCO doesn’t have a quiz, an empty
report-quiz-answer-distribution
element is
returned, as shown in the following example:
<results>
<status code="ok" />
<report-quiz-answer-distribution />
</results>
report-quiz-definition-answers
Description
Provides information about each of the allowed answers (both correct and incorrect) for the
specified quiz. An empty
quiz-definition-answers
element is returned when the specified
SCO does not have a quiz.
Parameters
accesskey
The access key for your account.
Note:
The
accesskey
parameter is required only in Breeze 4.0; it is not required for Breeze 4.1. If you
include this parameter in Breeze 4.1, it is ignored.
sco-id
The ID of a presentation that contains a quiz.
Filters
Results cannot be filtered or sorted.
The default primary sort is by ascending question ID, and the default secondary sort is by
ascending answer ID.
Returned elements
quiz-definition-answers
Содержание BREEZE-USING THE BREEZE XML WEB SERVICES
Страница 1: ...Using the Breeze XML Web Services...
Страница 8: ...8 Contents...
Страница 12: ...12 Introduction Before You Begin...
Страница 26: ...26 Chapter 2 Working with Filters...
Страница 36: ...36 Chapter 3 Common Tasks...
Страница 112: ...112 Chapter 4 Action Reference...
Страница 186: ...186 Chapter 5 XML Results Reference...
Страница 196: ...196 Index...