GET api/questionnaire/searchsubject?qstId={qstId}&pageSize={pageSize}&pageIndex={pageIndex}&key={key}&sort={sort}
加载题目
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
qstId | integer |
Required |
|
pageSize | integer |
Default value is 10 |
|
pageIndex | integer |
Default value is 1 |
|
key | string |
Default value is |
|
sort | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
加载题目
JsonRtnDtoOfListOfQstListSubjectDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of QstListSubjectDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "Id": 1, "QstId": 2, "Content": "sample string 3", "QstType": { "Id": 1, "TypeName": "sample string 2" }, "Necessary": true, "CanSelectedNum": 1 }, { "Id": 1, "QstId": 2, "Content": "sample string 3", "QstType": { "Id": 1, "TypeName": "sample string 2" }, "Necessary": true, "CanSelectedNum": 1 } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":1,"QstId":2,"Content":"sample string 3","QstType":{"Id":1,"TypeName":"sample string 2"},"Necessary":true,"CanSelectedNum":1},{"Id":1,"QstId":2,"Content":"sample string 3","QstType":{"Id":1,"TypeName":"sample string 2"},"Necessary":true,"CanSelectedNum":1}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfQstListSubjectDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <QstListSubjectDto> <CanSelectedNum>1</CanSelectedNum> <Content>sample string 3</Content> <Id>1</Id> <Necessary>true</Necessary> <QstId>2</QstId> <QstType xmlns:d4p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d4p1:Id>1</d4p1:Id> <d4p1:TypeName>sample string 2</d4p1:TypeName> </QstType> </QstListSubjectDto> <QstListSubjectDto> <CanSelectedNum>1</CanSelectedNum> <Content>sample string 3</Content> <Id>1</Id> <Necessary>true</Necessary> <QstId>2</QstId> <QstType xmlns:d4p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d4p1:Id>1</d4p1:Id> <d4p1:TypeName>sample string 2</d4p1:TypeName> </QstType> </QstListSubjectDto> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfQstListSubjectDtov3CTEUQJ>
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","QstType":{"Id":1,"TypeName":"sample string 2"},"Necessary":true,"CanSelectedNum":1},{"Id":1,"QstId":2,"Content":"sample string 3","QstType":{"Id":1,"TypeName":"sample string 2"},"Necessary":true,"CanSelectedNum":1}]});