
Enables the retrieval of report data for a specific question in a report (associated with a single survey).
https://api.ideasystem.org/v1/report/reportID/model/questionID
/v1/report/1234/model/54321/v1/report/1234/model/54321/v1/report/1234/model/54321?demographic_group_id=9The response will be an HTTP 200 along with a JSON body that contains the report data for the given question in the given report. If the report (report_id) or question (question_id) cannot be found, an HTTP 404 (Not Found) will be returned along with an error message in a JSON body. All other errors will return an HTTP 500 (Internal Server Error).
"answers": [...]"self_rating": 1"tally": { ... }"omit": 1"cannot_judge": 1"response": 34"results": { ... }result)discipline_result)institution_result)idea_result)"result": { ... }"raw": { ... }"mean": 3.5"tscore": 78.0"standard_deviation": 0.7"method_comp": -0.12345678"percent_positive": 78.12"percent_negative": 5.07"adjusted": { ... }"mean": 3.5"tscore": 78.0"discipline_result": { ... }"raw": { ... }"mean": 3.5"tscore": 78.0"adjusted": { ... }"mean": 3.5"tscore": 78.0"institution_result": { ... }"raw": { ... }"mean": 3.5"tscore": 78.0"adjusted": { ... }"mean": 3.5"tscore": 78.0"idea_result": { ... }"raw": { ... }"mean": 3.5"formative": { ... }"suggested_action": "Strength to retain""related_objectives": [4563, 6894, 535]"response_option_data_map": [...]This request will retrieve the answers to an open question that has the question_id of 54321 in a report that has a report_id of 1234. It will contain an array of answers that are String values.
GET /v1/report/1234/model/54321
HTTP 200
{
"answers": [
"This is the answer to an open question.",
"This is a longer answer to an open question but it isn't too long.",
"There are times that this will likely get very, very, very long-winded so we need to be able to handle large String values."
]
}
This request will retrieve the answers to a scaled question that has the question_id of 54321 in a report that has a report_id of 1234. It will contain a collection of aggregated and calculated data.
GET /v1/report/1234/model/54321
HTTP 200
{
"self_rating": 1, //Optional self-rating value; Only used when gap analysis has been selected.
"tally": {
"omit" : 12,
"cannot_judge": 2,
"response": 34
},
"results": {
"result": {
"raw": {
"mean": 4.2,
"tscore": 78.0,
"standard_deviation": 0.7,
"method_comp": -0.23456,
"percent_positive": 69,
"percent_negative": 12
},
"adjusted": {
"mean": 4.4,
"tscore": 79.0
}
},
"discipline_result": {
"raw": {
"mean": 4.2,
"tscore": 78.0
},
"adjusted": {
"mean": 4.4,
"tscore": 79.0
}
},
"institution_result": {
"raw": {
"mean": 4.2,
"tscore": 78.0
},
"adjusted": {
"mean": 4.4,
"tscore": 79.0
}
},
"idea_result": {
"raw": {
"mean": 3.8,
}
}
},
"formative": { //Only appears when this item/question is a teaching method.
"suggested_action": "Strength to retain",
"related_objectives": [4563, 6894, 535]
},
"response_option_data_map": [
//Contains scaled response options.
//Each contains a count and calculated values (response rate, frequency, ...)
"option1": {
"count": 32,
"rate": 98.7
},
"option2": {
"count": 1,
"rate": 0.1
},
"option3": {
"count": 2,
"rate": 0.2
}, ...
]
}
This request will retrieve the answers to a Multiple Choice Multiple Answer (MCMA) question
that has the question_id of 54321 in a report that has a report_id of 1234. It will
contain a collection of response counts. This result differs from a Scaled question
in that it lacks any aggregate data as well as response rates as these values
are not meaninful for MCMA questions. Also NOTE: The tally numbers will
not necessarily correspond with the response counts because each Respondent can
provide multiple Responses for questions of this type.
GET /v1/report/1234/model/54321
HTTP 200
{
"tally": {
"response": 7,
"omit": 3,
"cannot_judge": 0
},
"response_option_data_map": {
"0": {
"count": 2
},
"1": {
"count": 1
},
"2": {
"count": 2
},
"3": {
"count": 2
},
"4": {
"count": 3
},
"5": {
"count": 3
},
"6": {
"count": 3
},
"7": {
"count": 1
},
"8": {
"count": 3
},
"9": {
"count": 8
}
}
}