Outcomes feed
The Outcomes feed is related to the Questions feed. It returns outcome data to the client.
This page includes the following sections:
Properties
The Outcomes feed includes the following six properties:
Property |
Description |
Example value |
---|---|---|
OutcomeKey |
...is the internal outcome key. |
8 |
QuestionKey |
...is the internal question key. |
713 |
Name |
...is the name of the outcome. |
Neither agree nor disagree |
Feedback |
...is the feedback provided for the outcome. |
Your response has been recorded! |
Number |
...is the outcome number. |
3 |
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 |
Relationships to other feeds
The Outcomes feed includes a single relationship: an outcome is linked back to the one question to which it refers.
This allows the client to see question data for a given outcome.
Atom attributes
The Atom field <title>
is populated with the outcome 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/Outcomes(8)</id>
<title type="text"> Neither Agree nor Disagree</title>
<updated>2012-05-18T17:16:49Z</updated>
<author>
<name />
</author>
<link rel="edit" title="Outcome" href="Outcomes(8)" />
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Question" type="application/atom+xml;type=entry" title="Question" href="Outcomes(8)/Question"/>
<category term="Model.Outcome" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:OutcomeKey m:type="Edm.Int32">8</d:OutcomeKey>
<d:QuestionKey m:type="Edm.Int32">713</d:QuestionKey>
<d:Name>Neither agree nor disagree</d:Name>
<d:Feedback>Your response has been recorded!</d:Feedback>
<d:Number m:type="Edm.Int32">3</d:Number>
<d:TenantId>123456</d:TenantId>
</m:properties>
</content>
</entry>