GET api/questionnaire/findquestionnaireresults?qstId={qstId}

加载一个问卷结果

Request Information

URI Parameters

NameDescriptionTypeAdditional information
qstId

integer

Required

Body Parameters

None.

Response Information

Resource Description

加载一个问卷结果

JsonRtnDtoOfQuestionnaireResultDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

QuestionnaireResultDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "CourseId": 1,
    "QuestionnaireName": "sample string 2",
    "QuestionnaireDescription": "sample string 3",
    "BeginTime": "2024-09-25T00:07:30.5939976+08:00",
    "EndTime": "2024-09-25T00:07:30.5939976+08:00",
    "QstSubjectResults": [
      {
        "Content": "sample string 1",
        "QstTypeId": 2,
        "QstResultCount": 3,
        "QstResults": [
          {
            "QstTypeId": 1,
            "Result": "sample string 2"
          },
          {
            "QstTypeId": 1,
            "Result": "sample string 2"
          }
        ],
        "QstOptionResults": [
          {
            "Id": 1,
            "QstTypeId": 2,
            "QstSubId": 3,
            "Content": "sample string 4",
            "Index": 5,
            "Proportion": 6.1,
            "ResultNum": 7
          },
          {
            "Id": 1,
            "QstTypeId": 2,
            "QstSubId": 3,
            "Content": "sample string 4",
            "Index": 5,
            "Proportion": 6.1,
            "ResultNum": 7
          }
        ]
      },
      {
        "Content": "sample string 1",
        "QstTypeId": 2,
        "QstResultCount": 3,
        "QstResults": [
          {
            "QstTypeId": 1,
            "Result": "sample string 2"
          },
          {
            "QstTypeId": 1,
            "Result": "sample string 2"
          }
        ],
        "QstOptionResults": [
          {
            "Id": 1,
            "QstTypeId": 2,
            "QstSubId": 3,
            "Content": "sample string 4",
            "Index": 5,
            "Proportion": 6.1,
            "ResultNum": 7
          },
          {
            "Id": 1,
            "QstTypeId": 2,
            "QstSubId": 3,
            "Content": "sample string 4",
            "Index": 5,
            "Proportion": 6.1,
            "ResultNum": 7
          }
        ]
      }
    ]
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"CourseId":1,"QuestionnaireName":"sample string 2","QuestionnaireDescription":"sample string 3","BeginTime":"2024-09-25T00:07:30.5939976+08:00","EndTime":"2024-09-25T00:07:30.5939976+08:00","QstSubjectResults":[{"Content":"sample string 1","QstTypeId":2,"QstResultCount":3,"QstResults":[{"QstTypeId":1,"Result":"sample string 2"},{"QstTypeId":1,"Result":"sample string 2"}],"QstOptionResults":[{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7},{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7}]},{"Content":"sample string 1","QstTypeId":2,"QstResultCount":3,"QstResults":[{"QstTypeId":1,"Result":"sample string 2"},{"QstTypeId":1,"Result":"sample string 2"}],"QstOptionResults":[{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7},{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7}]}]}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfQuestionnaireResultDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <BeginTime>2024-09-25T00:07:30.5939976+08:00</BeginTime>
    <CourseId>1</CourseId>
    <EndTime>2024-09-25T00:07:30.5939976+08:00</EndTime>
    <QstSubjectResults>
      <QstSubjectResultDto>
        <Content>sample string 1</Content>
        <QstOptionResults>
          <QstOptionResultDto>
            <Content>sample string 4</Content>
            <Id>1</Id>
            <Index>5</Index>
            <Proportion>6.1</Proportion>
            <QstSubId>3</QstSubId>
            <QstTypeId>2</QstTypeId>
            <ResultNum>7</ResultNum>
          </QstOptionResultDto>
          <QstOptionResultDto>
            <Content>sample string 4</Content>
            <Id>1</Id>
            <Index>5</Index>
            <Proportion>6.1</Proportion>
            <QstSubId>3</QstSubId>
            <QstTypeId>2</QstTypeId>
            <ResultNum>7</ResultNum>
          </QstOptionResultDto>
        </QstOptionResults>
        <QstResultCount>3</QstResultCount>
        <QstResults>
          <QstResultShowDto>
            <QstTypeId>1</QstTypeId>
            <Result>sample string 2</Result>
          </QstResultShowDto>
          <QstResultShowDto>
            <QstTypeId>1</QstTypeId>
            <Result>sample string 2</Result>
          </QstResultShowDto>
        </QstResults>
        <QstTypeId>2</QstTypeId>
      </QstSubjectResultDto>
      <QstSubjectResultDto>
        <Content>sample string 1</Content>
        <QstOptionResults>
          <QstOptionResultDto>
            <Content>sample string 4</Content>
            <Id>1</Id>
            <Index>5</Index>
            <Proportion>6.1</Proportion>
            <QstSubId>3</QstSubId>
            <QstTypeId>2</QstTypeId>
            <ResultNum>7</ResultNum>
          </QstOptionResultDto>
          <QstOptionResultDto>
            <Content>sample string 4</Content>
            <Id>1</Id>
            <Index>5</Index>
            <Proportion>6.1</Proportion>
            <QstSubId>3</QstSubId>
            <QstTypeId>2</QstTypeId>
            <ResultNum>7</ResultNum>
          </QstOptionResultDto>
        </QstOptionResults>
        <QstResultCount>3</QstResultCount>
        <QstResults>
          <QstResultShowDto>
            <QstTypeId>1</QstTypeId>
            <Result>sample string 2</Result>
          </QstResultShowDto>
          <QstResultShowDto>
            <QstTypeId>1</QstTypeId>
            <Result>sample string 2</Result>
          </QstResultShowDto>
        </QstResults>
        <QstTypeId>2</QstTypeId>
      </QstSubjectResultDto>
    </QstSubjectResults>
    <QuestionnaireDescription>sample string 3</QuestionnaireDescription>
    <QuestionnaireName>sample string 2</QuestionnaireName>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfQuestionnaireResultDtov3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"CourseId":1,"QuestionnaireName":"sample string 2","QuestionnaireDescription":"sample string 3","BeginTime":"2024-09-25T00:07:30.5939976+08:00","EndTime":"2024-09-25T00:07:30.5939976+08:00","QstSubjectResults":[{"Content":"sample string 1","QstTypeId":2,"QstResultCount":3,"QstResults":[{"QstTypeId":1,"Result":"sample string 2"},{"QstTypeId":1,"Result":"sample string 2"}],"QstOptionResults":[{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7},{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7}]},{"Content":"sample string 1","QstTypeId":2,"QstResultCount":3,"QstResults":[{"QstTypeId":1,"Result":"sample string 2"},{"QstTypeId":1,"Result":"sample string 2"}],"QstOptionResults":[{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7},{"Id":1,"QstTypeId":2,"QstSubId":3,"Content":"sample string 4","Index":5,"Proportion":6.1,"ResultNum":7}]}]}});