GET api/CustomerResponse/GetCustomerSelectionsForReport?contestId={contestId}&pageNumber={pageNumber}&RowsOfPage={RowsOfPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contestId

globally unique identifier

Required

pageNumber

integer

Default value is 1

RowsOfPage

integer

Default value is 50

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerResponseReportDto
NameDescriptionTypeAdditional information
UserName

string

None.

ContestName

string

None.

questionResponseReportDtos

Collection of QuestionResponseReportDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserName": "sample string 1",
    "ContestName": "sample string 2",
    "questionResponseReportDtos": [
      {
        "QuestionText": "sample string 1",
        "Response": "sample string 2"
      },
      {
        "QuestionText": "sample string 1",
        "Response": "sample string 2"
      }
    ]
  },
  {
    "UserName": "sample string 1",
    "ContestName": "sample string 2",
    "questionResponseReportDtos": [
      {
        "QuestionText": "sample string 1",
        "Response": "sample string 2"
      },
      {
        "QuestionText": "sample string 1",
        "Response": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerResponseReportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerResponseMoule.Model">
  <CustomerResponseReportDto>
    <ContestName>sample string 2</ContestName>
    <UserName>sample string 1</UserName>
    <questionResponseReportDtos>
      <QuestionResponseReportDto>
        <QuestionText>sample string 1</QuestionText>
        <Response>sample string 2</Response>
      </QuestionResponseReportDto>
      <QuestionResponseReportDto>
        <QuestionText>sample string 1</QuestionText>
        <Response>sample string 2</Response>
      </QuestionResponseReportDto>
    </questionResponseReportDtos>
  </CustomerResponseReportDto>
  <CustomerResponseReportDto>
    <ContestName>sample string 2</ContestName>
    <UserName>sample string 1</UserName>
    <questionResponseReportDtos>
      <QuestionResponseReportDto>
        <QuestionText>sample string 1</QuestionText>
        <Response>sample string 2</Response>
      </QuestionResponseReportDto>
      <QuestionResponseReportDto>
        <QuestionText>sample string 1</QuestionText>
        <Response>sample string 2</Response>
      </QuestionResponseReportDto>
    </questionResponseReportDtos>
  </CustomerResponseReportDto>
</ArrayOfCustomerResponseReportDto>