GET v1/events/{eventName}/LoginQuestionAnswersForChart

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LoginQuestionAnswersForChartDto
NameDescriptionTypeAdditional information
LoginQuestionId

integer

None.

EventId

integer

None.

QuestionText

string

None.

ShortQuestionText

string

None.

LoginQuestionType

LoginQuestionType

None.

LoginAnswers

Collection of LoginAnswerForChartDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LoginQuestionId": 1,
    "EventId": 2,
    "QuestionText": "sample string 3",
    "ShortQuestionText": "sample string 4",
    "LoginQuestionType": 1,
    "LoginAnswers": [
      {
        "LoginAnswerId": 1,
        "Answer": "sample string 2"
      },
      {
        "LoginAnswerId": 1,
        "Answer": "sample string 2"
      }
    ]
  },
  {
    "LoginQuestionId": 1,
    "EventId": 2,
    "QuestionText": "sample string 3",
    "ShortQuestionText": "sample string 4",
    "LoginQuestionType": 1,
    "LoginAnswers": [
      {
        "LoginAnswerId": 1,
        "Answer": "sample string 2"
      },
      {
        "LoginAnswerId": 1,
        "Answer": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfLoginQuestionAnswersForChartDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.LoginQuestions">
  <LoginQuestionAnswersForChartDto>
    <EventId>2</EventId>
    <LoginAnswers>
      <LoginAnswerForChartDto>
        <Answer>sample string 2</Answer>
        <LoginAnswerId>1</LoginAnswerId>
      </LoginAnswerForChartDto>
      <LoginAnswerForChartDto>
        <Answer>sample string 2</Answer>
        <LoginAnswerId>1</LoginAnswerId>
      </LoginAnswerForChartDto>
    </LoginAnswers>
    <LoginQuestionId>1</LoginQuestionId>
    <LoginQuestionType>YesNo</LoginQuestionType>
    <QuestionText>sample string 3</QuestionText>
    <ShortQuestionText>sample string 4</ShortQuestionText>
  </LoginQuestionAnswersForChartDto>
  <LoginQuestionAnswersForChartDto>
    <EventId>2</EventId>
    <LoginAnswers>
      <LoginAnswerForChartDto>
        <Answer>sample string 2</Answer>
        <LoginAnswerId>1</LoginAnswerId>
      </LoginAnswerForChartDto>
      <LoginAnswerForChartDto>
        <Answer>sample string 2</Answer>
        <LoginAnswerId>1</LoginAnswerId>
      </LoginAnswerForChartDto>
    </LoginAnswers>
    <LoginQuestionId>1</LoginQuestionId>
    <LoginQuestionType>YesNo</LoginQuestionType>
    <QuestionText>sample string 3</QuestionText>
    <ShortQuestionText>sample string 4</ShortQuestionText>
  </LoginQuestionAnswersForChartDto>
</ArrayOfLoginQuestionAnswersForChartDto>