GET api/v1/LiveQuizEvent/GetUserChoiceCountLiveQuiz?passCode={passCode}&questionId={questionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
passCode

string

Required

questionId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of LiveQuizEventQuestionChoice
NameDescriptionTypeAdditional information
QuestionId

integer

None.

ChoiceId

integer

None.

Text

string

None.

UsersCount

integer

None.

Percentage

integer

None.

PassCode

string

None.

LiveQuizEventId

integer

None.

ShotClassId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuestionId": 1,
    "ChoiceId": 1,
    "Text": "sample string 1",
    "UsersCount": 1,
    "Percentage": 1,
    "PassCode": "sample string 2",
    "LiveQuizEventId": 1,
    "ShotClassId": 1
  },
  {
    "QuestionId": 1,
    "ChoiceId": 1,
    "Text": "sample string 1",
    "UsersCount": 1,
    "Percentage": 1,
    "PassCode": "sample string 2",
    "LiveQuizEventId": 1,
    "ShotClassId": 1
  }
]

text/html

Sample:
[{"QuestionId":1,"ChoiceId":1,"Text":"sample string 1","UsersCount":1,"Percentage":1,"PassCode":"sample string 2","LiveQuizEventId":1,"ShotClassId":1},{"QuestionId":1,"ChoiceId":1,"Text":"sample string 1","UsersCount":1,"Percentage":1,"PassCode":"sample string 2","LiveQuizEventId":1,"ShotClassId":1}]

text/xml

Sample:
<ArrayOfLiveQuizEventQuestionChoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models">
  <LiveQuizEventQuestionChoice>
    <ChoiceId>1</ChoiceId>
    <LiveQuizEventId>1</LiveQuizEventId>
    <PassCode>sample string 2</PassCode>
    <Percentage>1</Percentage>
    <QuestionId>1</QuestionId>
    <ShotClassId>1</ShotClassId>
    <Text>sample string 1</Text>
    <UsersCount>1</UsersCount>
  </LiveQuizEventQuestionChoice>
  <LiveQuizEventQuestionChoice>
    <ChoiceId>1</ChoiceId>
    <LiveQuizEventId>1</LiveQuizEventId>
    <PassCode>sample string 2</PassCode>
    <Percentage>1</Percentage>
    <QuestionId>1</QuestionId>
    <ShotClassId>1</ShotClassId>
    <Text>sample string 1</Text>
    <UsersCount>1</UsersCount>
  </LiveQuizEventQuestionChoice>
</ArrayOfLiveQuizEventQuestionChoice>