Questions feed

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

The Questions feed returns question data to the client. The Questions feed includes a connection to related AssessmentQuestionLinks, Choices, Outcomes, Assessments, Answers, and JTADimensions.

This page includes the following sections:


The Questions feed includes the following twenty properties:



Example value

QuestionKey the internal question key.


PerceptionQuestionMID the Questionmark question MID.


PerceptionQuestionLID the Questionmark question LID.


RevisionNumber the revision number of the question.


Type the question type.

Multiple Choice

Wording the question wording.

In what year was The Smiths debut album released?

Description the description for the question.

Music trivia question 42

MinimumScore the minimum possible score achievable on the question.


MaximumScore the maximum possible score achievable on the question.


CorrectAnswers the correct answer(s) to the question.


TenantId used to filter data for the Questionmark account you want to access the result data for. The tenant ID is the customer ID for an OnDemand account; for Perception users, it is the name of the specific shared repository are you trying to access the result data for. It is checked against the supplied credentials.


ParentKey the parent key (-1 if no parent exists).


CreatedDateUtc the UTC creation date.


CreatedDateLocal the local creation date.


ModifiedDateUtc the UTC last modified date.


ModifiedDateLocal the local modified date.


Author the author of the question.

LastEditedBy the person who last edited the question.

QuestionStatus the question status.


Relationships to other feeds

The Questions feed includes six relationships: a participant can be linked to one-or-more outcomes, one-or-more choices, one-or-more assessments (via assessment question links), one-or-more JTA dimensions, and one-or-more answers.

This allows the client to see all outcome, choice, and assessment data for a given question.

Atom attributes

The Atom field <title> is populated with the question description.

The Atom field <updated> is populated with the finished time of the batch in which the record was imported.

Typical OData commands

Questionmark's Results API uses the Microsoft implementation of OData and thus supports all the commands found at:

OData: URI Conventions

Typical OData commands and examples of these commands that can be applied to the Questions feed include:


$filter=Wording eq 'Where is Calgary located?'

$filter=QuestionStatus eq 'Beta'

(As shown in the chart here, 'eq' means 'equal.')




Example XML entry

<entry xml:base="" xmlns:d=""
xmlns:m="" xmlns="">
<title type="text">Music trivia question 42</title>
<name />
<link rel="edit" title="Question" href="Questions(10)"/>
<link rel="" type="application/atom+xml;type=feed" title="Outcomes" href="Questions(10)/Outcomes"/>
<link rel="" type="application/atom+xml;type=feed" title="Choices" href="Questions(10)/Choices"/>
<link rel="" type="application/atom+xml;type=feed" title="AssessmentQuestionLinks"
href="Questions(10)/AssessmentQuestionLinks" />
<category term="Model.Question" scheme=""/>
<content type="application/xml">
<d:QuestionKey m:type="Edm.Int32">10</d:QuestionKey>
<d:PerceptionQuestionMID m:type="Edm.Int32">1000</d:PerceptionQuestionMID>
<d:PerceptionQuestionLID m:type="Edm.Int32">1183</d:PerceptionQuestionLID>
<d:RevisionNumber m:type="Edm.Int32">1</d:RevisionNumber>
<d:Type>Multiple Choice</d:Type>
<d:Wording>In what year was The Smiths debut album released?</d:Wording>
<d:Description>Music trivia question 42</d:Description>
<d:MinimumScore m:type="Edm.Int16">0</d:MinimumScore>
<d:MaximumScore m:type="Edm.Int16">1</d:MaximumScore>
<d:ParentKey m:type="Edm.Int32">-1</d:ParentKey>
<d:CreatedDateUtc m:type="Edm.DateTime">2010-07-30T11:38:35</d:CreatedDateUtc>
<d:CreatedDateLocal m:type="Edm.DateTime">2010-07-30T07:38:35</d:CreatedDateLocal>
<d:ModifiedDateUtc m:type="Edm.DateTime">2010-07-30T11:38:35</d:ModifiedDateUtc>
<d:ModifiedDateLocal m:type="Edm.DateTime">2010-07-30T07:38:35</d:ModifiedDateLocal>

Default record

The Questions feed includes a default record that is used in instanceswhen data from certain records does not have an assigned value. If you're creating reports from records in this feed, you will see one more record than you expect, this extra record being the default record. To filter out the default record from any reports you generate, filter to only include records that contain a QuestionKey with a value greater than 0. The default record is:

<d:QuestionKey m:type="Edm.Int32">-1</d:QuestionKey>
<d:PerceptionQuestionMID m:type="Edm.Int32" m:null="true" />
<d:PerceptionQuestionLID m:type="Edm.Int32" m:null="true" />
<d:RevisionNumber m:type="Edm.Int32" m:null="true" />
<d:MinimumScore m:type="Edm.Int16">0</d:MinimumScore>
<d:MaximumScore m:type="Edm.Int16">0</d:MaximumScore>
<d:TenantId>&lt;Not defined&gt;</d:TenantId>
<d:ParentKey m:type="Edm.Int32">-1</d:ParentKey>
<d:CreatedDateUtc m:type="Edm.DateTime" m:null="true" />
<d:CreatedDateLocal m:type="Edm.DateTime" m:null="true" />
<d:ModifiedDateUtc m:type="Edm.DateTime" m:null="true" />
<d:ModifiedDateLocal m:type="Edm.DateTimem:null="true" />