GET api/Survey/getResult?resultId={resultId}&name={name}

Returns the survey results grouped by a question name.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resultId

A unique indentificator for survey result.

globally unique identifier

Required

name

You question name.

string

Required

Body Parameters

None.

Response Information

Resource Description

{AnswersCount: [the number of answers for the question], QuestionResult: [the dictionary of answer choices by their names and counts.]}

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.