GET api/questionnaire/search?courseId={courseId}&state={state}&pageSize={pageSize}&pageIndex={pageIndex}&key={key}&sort={sort}
加载一页问卷
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId | globally unique identifier |
Required |
|
state |
状态 |
QuestionnaireState |
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
加载一页问卷
JsonRtnDtoOfPageResultOfQuestionnaireListDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfQuestionnaireListDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": 1, "PubId": "a42ce945-8b0b-43a8-8d9f-b4d142a470e0", "MemberId": "sample string 3", "MemberName": "sample string 4", "MemberType": 5, "QuestionnaireName": "sample string 6", "BeginTime": "2024-09-25T00:10:04.0309082+08:00", "EndTime": "2024-09-25T00:10:04.0309082+08:00", "SignNumber": 7, "IsInputed": true, "HasFilled": true, "Necessary": true, "State": 0, "ReState": "全部" }, { "Id": 1, "PubId": "a42ce945-8b0b-43a8-8d9f-b4d142a470e0", "MemberId": "sample string 3", "MemberName": "sample string 4", "MemberType": 5, "QuestionnaireName": "sample string 6", "BeginTime": "2024-09-25T00:10:04.0309082+08:00", "EndTime": "2024-09-25T00:10:04.0309082+08:00", "SignNumber": 7, "IsInputed": true, "HasFilled": true, "Necessary": true, "State": 0, "ReState": "全部" } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":1,"PubId":"a42ce945-8b0b-43a8-8d9f-b4d142a470e0","MemberId":"sample string 3","MemberName":"sample string 4","MemberType":5,"QuestionnaireName":"sample string 6","BeginTime":"2024-09-25T00:10:04.0309082+08:00","EndTime":"2024-09-25T00:10:04.0309082+08:00","SignNumber":7,"IsInputed":true,"HasFilled":true,"Necessary":true,"State":0,"ReState":"全部"},{"Id":1,"PubId":"a42ce945-8b0b-43a8-8d9f-b4d142a470e0","MemberId":"sample string 3","MemberName":"sample string 4","MemberType":5,"QuestionnaireName":"sample string 6","BeginTime":"2024-09-25T00:10:04.0309082+08:00","EndTime":"2024-09-25T00:10:04.0309082+08:00","SignNumber":7,"IsInputed":true,"HasFilled":true,"Necessary":true,"State":0,"ReState":"全部"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfQuestionnaireListDtomEDjlcEGS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure"> <d2p1:PageIndex>1</d2p1:PageIndex> <d2p1:PageSize>2</d2p1:PageSize> <d2p1:TotalPages>4</d2p1:TotalPages> <d2p1:total>3</d2p1:total> <d2p1:Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d3p1:QuestionnaireListDto> <d3p1:BeginTime>2024-09-25T00:10:04.0309082+08:00</d3p1:BeginTime> <d3p1:EndTime>2024-09-25T00:10:04.0309082+08:00</d3p1:EndTime> <d3p1:HasFilled>true</d3p1:HasFilled> <d3p1:Id>1</d3p1:Id> <d3p1:IsInputed>true</d3p1:IsInputed> <d3p1:MemberId>sample string 3</d3p1:MemberId> <d3p1:MemberName>sample string 4</d3p1:MemberName> <d3p1:MemberType>5</d3p1:MemberType> <d3p1:Necessary>true</d3p1:Necessary> <d3p1:PubId>a42ce945-8b0b-43a8-8d9f-b4d142a470e0</d3p1:PubId> <d3p1:QuestionnaireName>sample string 6</d3p1:QuestionnaireName> <d3p1:SignNumber>7</d3p1:SignNumber> <d3p1:State>全部</d3p1:State> </d3p1:QuestionnaireListDto> <d3p1:QuestionnaireListDto> <d3p1:BeginTime>2024-09-25T00:10:04.0309082+08:00</d3p1:BeginTime> <d3p1:EndTime>2024-09-25T00:10:04.0309082+08:00</d3p1:EndTime> <d3p1:HasFilled>true</d3p1:HasFilled> <d3p1:Id>1</d3p1:Id> <d3p1:IsInputed>true</d3p1:IsInputed> <d3p1:MemberId>sample string 3</d3p1:MemberId> <d3p1:MemberName>sample string 4</d3p1:MemberName> <d3p1:MemberType>5</d3p1:MemberType> <d3p1:Necessary>true</d3p1:Necessary> <d3p1:PubId>a42ce945-8b0b-43a8-8d9f-b4d142a470e0</d3p1:PubId> <d3p1:QuestionnaireName>sample string 6</d3p1:QuestionnaireName> <d3p1:SignNumber>7</d3p1:SignNumber> <d3p1:State>全部</d3p1:State> </d3p1:QuestionnaireListDto> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfQuestionnaireListDtomEDjlcEGS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":1,"PubId":"a42ce945-8b0b-43a8-8d9f-b4d142a470e0","MemberId":"sample string 3","MemberName":"sample string 4","MemberType":5,"QuestionnaireName":"sample string 6","BeginTime":"2024-09-25T00:10:04.0309082+08:00","EndTime":"2024-09-25T00:10:04.0309082+08:00","SignNumber":7,"IsInputed":true,"HasFilled":true,"Necessary":true,"State":0,"ReState":"全部"},{"Id":1,"PubId":"a42ce945-8b0b-43a8-8d9f-b4d142a470e0","MemberId":"sample string 3","MemberName":"sample string 4","MemberType":5,"QuestionnaireName":"sample string 6","BeginTime":"2024-09-25T00:10:04.0309082+08:00","EndTime":"2024-09-25T00:10:04.0309082+08:00","SignNumber":7,"IsInputed":true,"HasFilled":true,"Necessary":true,"State":0,"ReState":"全部"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});