GET api/questionnaire/findsubject?qstsubId={qstsubId}

加载一个带选项的问卷题目

Request Information

URI Parameters

NameDescriptionTypeAdditional information
qstsubId

问卷题目编号

integer

Required

Body Parameters

None.

Response Information

Resource Description

加载一个带选项的问卷题目

JsonRtnDtoOfQstSubjectDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

QstSubjectDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "QstId": 2,
    "Content": "sample string 3",
    "QstTypeId": 4,
    "Necessary": true,
    "CanSelectedNum": 1,
    "QstOption": [
      {
        "Id": 1,
        "QstId": 2,
        "QstTypeId": 3,
        "QstSubjectId": 4,
        "Content": "sample string 5",
        "Index": 6
      },
      {
        "Id": 1,
        "QstId": 2,
        "QstTypeId": 3,
        "QstSubjectId": 4,
        "Content": "sample string 5",
        "Index": 6
      }
    ]
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"QstId":2,"Content":"sample string 3","QstTypeId":4,"Necessary":true,"CanSelectedNum":1,"QstOption":[{"Id":1,"QstId":2,"QstTypeId":3,"QstSubjectId":4,"Content":"sample string 5","Index":6},{"Id":1,"QstId":2,"QstTypeId":3,"QstSubjectId":4,"Content":"sample string 5","Index":6}]}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfQstSubjectDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <CanSelectedNum>1</CanSelectedNum>
    <Content>sample string 3</Content>
    <Id>1</Id>
    <Necessary>true</Necessary>
    <QstId>2</QstId>
    <QstOption>
      <QstOptionDto>
        <Content>sample string 5</Content>
        <Id>1</Id>
        <Index>6</Index>
        <QstId>2</QstId>
        <QstSubjectId>4</QstSubjectId>
        <QstTypeId>3</QstTypeId>
      </QstOptionDto>
      <QstOptionDto>
        <Content>sample string 5</Content>
        <Id>1</Id>
        <Index>6</Index>
        <QstId>2</QstId>
        <QstSubjectId>4</QstSubjectId>
        <QstTypeId>3</QstTypeId>
      </QstOptionDto>
    </QstOption>
    <QstTypeId>4</QstTypeId>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfQstSubjectDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"QstId":2,"Content":"sample string 3","QstTypeId":4,"Necessary":true,"CanSelectedNum":1,"QstOption":[{"Id":1,"QstId":2,"QstTypeId":3,"QstSubjectId":4,"Content":"sample string 5","Index":6},{"Id":1,"QstId":2,"QstTypeId":3,"QstSubjectId":4,"Content":"sample string 5","Index":6}]}});