Assessments feed
The Assessments feed returns outcome data to the client. The Assessment feed includes a connection to related AssessmentQuestionLinks, Answers, Results, and TopicScores.
This page includes the following sections:
Properties
The Assessments feed includes the following seventeen properties:
Property |
Description |
Example value |
---|---|---|
AssessmentKey |
...is the internal assessment key. |
16 |
PerceptionAssessmentMID |
...is the Questionmark session MID. |
5911671 |
PerceptionAssessmentLID |
...is the Questionmark session LID. |
70642813 |
RevisionNumber |
...is the revision number for the assessment. |
5 |
Name |
...is the name of the assessment. |
Things one should know to succeed in life |
Description |
...is the description of the assessment. |
A general knowledge test |
AssessmentType |
...is the assessment type. |
Exam |
Author |
...is the author of the assessment. |
Dan Snaith |
LastEditedBy |
...is the person who last edited the assessment. |
Thomas Pynchon |
AssessmentRandomlyAdministered |
...is a flag indicating whether the assessment was random. |
false |
AssessmentHasTimeLimit |
...is a flag indicating whether the assessment has a time limit. |
true |
AssessmentTimeLimit |
...is the time limit for the assessment. |
30 |
CreatedDateUtc |
...is the UTC creation date. |
2010-12-14T17:51:15 |
CreatedDateLocal |
...is the local creation date. |
2010-12-14T12:51:15 |
ModifiedDateUtc |
...is the UTC modified date. |
2011-08-11T16:39:45 |
ModifiedDateLocal |
...is the local modified date. |
2011-08-11T12:39:45 |
TenantID |
...is 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. |
123456 |
Language |
...is the language the assessment was delivered in. |
English (United States) |
Relationships to other feeds
The Assessments feed includes four relationships: an assessment can be linked to zero-or-more assessment question links, in order to allow linking of questions to assessments, zero-or-more answers, zero-or-more results, and zero-or-more topic scores.
This allows the client to see assessment question link, answer, result and topic score data for a given assessment.
Atom attributes
The Atom field <title>
is populated with the assessment name.
The Atom field <updated>
is populated with the finished time of the batch in which the record was imported.
Example XML entry
<entry xml:base="https://ondemand.questionmark.com/123456/odata/" xmlns:d="http://schemas.microsoft.com/ado/2804/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2804/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<id>https://ondemand.questionmark.com/123456/odata/Assessments(16)</id>
<title type="text">Things one should know to succeed in life</title>
<updated>2011-08-11T16:39:45</updated>
<author>
<name />
</author>
<link rel="edit" title="Assessment" href="Assessments(16)"/>
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/AssessmentQuestionLinks" type="application/atom+xml;type=feed" title="AssessmentQuestionLinks"
href="Assessments(16)/AssessmentQuestionLinks"/>
<category term="Model.Assessment" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/TopicScores" type="application/atom+xml;type=feed" title="TopicScores" href="Assessments(7)/TopicScores"/>
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Answers" type="application/atom+xml;type=feed" title="Answers" href="Assessments(7)/Answers"/>
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Results" type="application/atom+xml;type=feed" title="Results" href="Assessments(7)/Results"/>
<content type="application/xml">
<m:properties>
<d:AssessmentKey m:type="Edm.Int32">16</d:AssessmentKey>
<d:PerceptionAssessmentMID m:type="Edm.Int32">5911671</d:PerceptionAssessmentMID>
<d:PerceptionAssessmentLID m:type="Edm.Int32">70642813</d:PerceptionAssessmentLID>
<d:RevisionNumber m:type="Edm.Int32">5</d:RevisionNumber>
<d:Name>A test of things one should know to succeed in life</d:Name>
<d:Description>General knowledge test</d:Description>
<d:AssessmentType>Exam</d:AssessmentType>
<d:Author>Dan Snaith</d:Author>
<d:LastEditedBy>Thomas Pynchon</d:LastEditedBy>
<d:AssessmentRandomlyAdministered m:type="Edm.Boolean">false</d:AssessmentRandomlyAdministered>
<d:AssessmentHasTimeLimit m:type="Edm.Boolean">true</d:AssessmentHasTimeLimit>
<d:AssessmentTimeLimit m:type="Edm.Int32">30</d:AssessmentTimeLimit>
<d:CreatedDateUtc m:type="Edm.DateTime">2010-12-14T17:51:15</d:CreatedDateUtc>
<d:CreatedDateLocal m:type="Edm.DateTime">2010-12-14T12:51:15</d:CreatedDateLocal>
<d:ModifiedDateUtc m:type="Edm.DateTime">2011-08-11T16:39:45</d:ModifiedDateUtc>
<d:ModifiedDateLocal m:type="Edm.DateTime">2011-08-11T12:39:45</d:ModifiedDateLocal>
<d:TenantId>123456</d:TenantId>
<d:Language>English (United States)</d:Language>
</m:properties>
</content>
</entry>
Default record
The Assessments feed includes a default record that is used in instances when 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 an AssessmentKey with a value greater than 0. The default record is:
<d:AssessmentKey m:type="Edm.Int32">-1</d:AssessmentKey>
<d:PerceptionAssessmentMID m:type="Edm.Int32">-1</d:PerceptionAssessmentMID>
<d:PerceptionAssessmentLID m:type="Edm.Int32">-1</d:PerceptionAssessmentLID>
<d:RevisionNumber m:type="Edm.Int32">-1</d:RevisionNumber>
<d:Name><Not defined></d:Name>
<d:Description><Not defined></d:Description>
<d:AssessmentType><Not defined></d:AssessmentType>
<d:Author><Not defined></d:Author>
<d:LastEditedBy><Not defined></d:LastEditedBy>
<d:AssessmentRandomlyAdministered m:type="Edm.Boolean">false</d:AssessmentRandomlyAdministered>
<d:AssessmentHasTimeLimit m:type="Edm.Boolean">false</d:AssessmentHasTimeLimit>
<d:AssessmentTimeLimit m:type="Edm.Int32">0</d:AssessmentTimeLimit>
<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.DateTime m:null="true" />
<d:TenantId><Not defined></d:TenantId>
<d:Language><Not defined></d:Language>