GET api/Quiz/GetQuizResponses/{LanguageId}/{QuizId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LanguageId

integer

Required

QuizId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of QuizResponseDto
NameDescriptionTypeAdditional information
Id

integer

None.

QuizId

integer

None.

UserId

globally unique identifier

None.

LanguageId

integer

None.

PointsAwarded

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsSubmitted

boolean

None.

QuestionResponses

Collection of QuizQuestionResponseDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "QuizId": 2,
    "UserId": "c8ef820a-f829-4238-ac6d-1c49139c7243",
    "LanguageId": 1,
    "PointsAwarded": 1,
    "CreatedOn": "2019-05-26T03:35:52.2619738-04:00",
    "UpdatedOn": "2019-05-26T03:35:52.2619738-04:00",
    "IsSubmitted": true,
    "QuestionResponses": [
      {
        "Id": 1,
        "QuizId": 2,
        "QuizQuestionId": 3,
        "LanguageId": 1,
        "Answers": [
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          },
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          }
        ],
        "QuizResponseId": 4,
        "UserId": "c7df1a64-bc6d-439e-a716-fbf0cf19164e",
        "CreatedOn": "2019-05-26T03:35:52.2629736-04:00",
        "UpdatedOn": "2019-05-26T03:35:52.2629736-04:00"
      },
      {
        "Id": 1,
        "QuizId": 2,
        "QuizQuestionId": 3,
        "LanguageId": 1,
        "Answers": [
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          },
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          }
        ],
        "QuizResponseId": 4,
        "UserId": "c7df1a64-bc6d-439e-a716-fbf0cf19164e",
        "CreatedOn": "2019-05-26T03:35:52.2629736-04:00",
        "UpdatedOn": "2019-05-26T03:35:52.2629736-04:00"
      }
    ]
  },
  {
    "Id": 1,
    "QuizId": 2,
    "UserId": "c8ef820a-f829-4238-ac6d-1c49139c7243",
    "LanguageId": 1,
    "PointsAwarded": 1,
    "CreatedOn": "2019-05-26T03:35:52.2619738-04:00",
    "UpdatedOn": "2019-05-26T03:35:52.2619738-04:00",
    "IsSubmitted": true,
    "QuestionResponses": [
      {
        "Id": 1,
        "QuizId": 2,
        "QuizQuestionId": 3,
        "LanguageId": 1,
        "Answers": [
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          },
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          }
        ],
        "QuizResponseId": 4,
        "UserId": "c7df1a64-bc6d-439e-a716-fbf0cf19164e",
        "CreatedOn": "2019-05-26T03:35:52.2629736-04:00",
        "UpdatedOn": "2019-05-26T03:35:52.2629736-04:00"
      },
      {
        "Id": 1,
        "QuizId": 2,
        "QuizQuestionId": 3,
        "LanguageId": 1,
        "Answers": [
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          },
          {
            "Id": 1,
            "Title": "sample string 2",
            "LanguageId": 3,
            "IsAnswer": true
          }
        ],
        "QuizResponseId": 4,
        "UserId": "c7df1a64-bc6d-439e-a716-fbf0cf19164e",
        "CreatedOn": "2019-05-26T03:35:52.2629736-04:00",
        "UpdatedOn": "2019-05-26T03:35:52.2629736-04:00"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuizResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <QuizResponseDto>
    <CreatedOn>2019-05-26T03:35:52.2619738-04:00</CreatedOn>
    <Id>1</Id>
    <IsSubmitted>true</IsSubmitted>
    <LanguageId>1</LanguageId>
    <PointsAwarded>1</PointsAwarded>
    <QuestionResponses>
      <QuizQuestionResponseDto>
        <Answers>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
        </Answers>
        <CreatedOn>2019-05-26T03:35:52.2629736-04:00</CreatedOn>
        <Id>1</Id>
        <LanguageId>1</LanguageId>
        <QuizId>2</QuizId>
        <QuizQuestionId>3</QuizQuestionId>
        <QuizResponseId>4</QuizResponseId>
        <UpdatedOn>2019-05-26T03:35:52.2629736-04:00</UpdatedOn>
        <UserId>c7df1a64-bc6d-439e-a716-fbf0cf19164e</UserId>
      </QuizQuestionResponseDto>
      <QuizQuestionResponseDto>
        <Answers>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
        </Answers>
        <CreatedOn>2019-05-26T03:35:52.2629736-04:00</CreatedOn>
        <Id>1</Id>
        <LanguageId>1</LanguageId>
        <QuizId>2</QuizId>
        <QuizQuestionId>3</QuizQuestionId>
        <QuizResponseId>4</QuizResponseId>
        <UpdatedOn>2019-05-26T03:35:52.2629736-04:00</UpdatedOn>
        <UserId>c7df1a64-bc6d-439e-a716-fbf0cf19164e</UserId>
      </QuizQuestionResponseDto>
    </QuestionResponses>
    <QuizId>2</QuizId>
    <UpdatedOn>2019-05-26T03:35:52.2619738-04:00</UpdatedOn>
    <UserId>c8ef820a-f829-4238-ac6d-1c49139c7243</UserId>
  </QuizResponseDto>
  <QuizResponseDto>
    <CreatedOn>2019-05-26T03:35:52.2619738-04:00</CreatedOn>
    <Id>1</Id>
    <IsSubmitted>true</IsSubmitted>
    <LanguageId>1</LanguageId>
    <PointsAwarded>1</PointsAwarded>
    <QuestionResponses>
      <QuizQuestionResponseDto>
        <Answers>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
        </Answers>
        <CreatedOn>2019-05-26T03:35:52.2629736-04:00</CreatedOn>
        <Id>1</Id>
        <LanguageId>1</LanguageId>
        <QuizId>2</QuizId>
        <QuizQuestionId>3</QuizQuestionId>
        <QuizResponseId>4</QuizResponseId>
        <UpdatedOn>2019-05-26T03:35:52.2629736-04:00</UpdatedOn>
        <UserId>c7df1a64-bc6d-439e-a716-fbf0cf19164e</UserId>
      </QuizQuestionResponseDto>
      <QuizQuestionResponseDto>
        <Answers>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
          <QuizQuestionOptionDto>
            <Id>1</Id>
            <IsAnswer>true</IsAnswer>
            <LanguageId>3</LanguageId>
            <Title>sample string 2</Title>
          </QuizQuestionOptionDto>
        </Answers>
        <CreatedOn>2019-05-26T03:35:52.2629736-04:00</CreatedOn>
        <Id>1</Id>
        <LanguageId>1</LanguageId>
        <QuizId>2</QuizId>
        <QuizQuestionId>3</QuizQuestionId>
        <QuizResponseId>4</QuizResponseId>
        <UpdatedOn>2019-05-26T03:35:52.2629736-04:00</UpdatedOn>
        <UserId>c7df1a64-bc6d-439e-a716-fbf0cf19164e</UserId>
      </QuizQuestionResponseDto>
    </QuestionResponses>
    <QuizId>2</QuizId>
    <UpdatedOn>2019-05-26T03:35:52.2619738-04:00</UpdatedOn>
    <UserId>c8ef820a-f829-4238-ac6d-1c49139c7243</UserId>
  </QuizResponseDto>
</ArrayOfQuizResponseDto>