GET api/questionnaire/loadfull?id={id}
加载一个带题目的问卷
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
加载一个带题目的问卷
JsonRtnDtoOfFullQstDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | FullQstDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "CourseId": "dd8598d9-58d4-4b05-a595-0bfda119af8b", "QuestionnaireName": "sample string 3", "QuestionnaireDescription": "sample string 4", "Anonymity": true, "Necessary": true, "QstSubjects": [ { "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 } ] }, { "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,"CourseId":"dd8598d9-58d4-4b05-a595-0bfda119af8b","QuestionnaireName":"sample string 3","QuestionnaireDescription":"sample string 4","Anonymity":true,"Necessary":true,"QstSubjects":[{"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}]},{"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:
<JsonRtnDtoOfFullQstDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <Anonymity>true</Anonymity> <CourseId>dd8598d9-58d4-4b05-a595-0bfda119af8b</CourseId> <Id>1</Id> <Necessary>true</Necessary> <QstSubjects> <QstSubjectDto> <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> </QstSubjectDto> <QstSubjectDto> <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> </QstSubjectDto> </QstSubjects> <QuestionnaireDescription>sample string 4</QuestionnaireDescription> <QuestionnaireName>sample string 3</QuestionnaireName> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfFullQstDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"CourseId":"dd8598d9-58d4-4b05-a595-0bfda119af8b","QuestionnaireName":"sample string 3","QuestionnaireDescription":"sample string 4","Anonymity":true,"Necessary":true,"QstSubjects":[{"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}]},{"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}]}]}});