GET api/exam/show?courseId={courseId}&isPub={isPub}
加载习题
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId | globally unique identifier |
Required |
|
isPub | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
加载习题
JsonRtnDtoOfListOfExamListViewDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of ExamListViewDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "CatalogId": 1, "CatalogName": "sample string 2", "Exams": [ { "Id": "fce6a38f-a3d5-4274-821c-06ae83a7b4a1", "PubId": "81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd", "CatalogId": 1, "Title": "sample string 2", "Description": "sample string 3", "IsPublish": true, "PublishState": 1, "CreatedTime": "2024-09-25T00:09:18.6871804+08:00", "LastUpdatedTime": "2024-09-25T00:09:18.6871804+08:00", "HasSubmited": true, "HasMarked": true }, { "Id": "fce6a38f-a3d5-4274-821c-06ae83a7b4a1", "PubId": "81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd", "CatalogId": 1, "Title": "sample string 2", "Description": "sample string 3", "IsPublish": true, "PublishState": 1, "CreatedTime": "2024-09-25T00:09:18.6871804+08:00", "LastUpdatedTime": "2024-09-25T00:09:18.6871804+08:00", "HasSubmited": true, "HasMarked": true } ] }, { "CatalogId": 1, "CatalogName": "sample string 2", "Exams": [ { "Id": "fce6a38f-a3d5-4274-821c-06ae83a7b4a1", "PubId": "81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd", "CatalogId": 1, "Title": "sample string 2", "Description": "sample string 3", "IsPublish": true, "PublishState": 1, "CreatedTime": "2024-09-25T00:09:18.6871804+08:00", "LastUpdatedTime": "2024-09-25T00:09:18.6871804+08:00", "HasSubmited": true, "HasMarked": true }, { "Id": "fce6a38f-a3d5-4274-821c-06ae83a7b4a1", "PubId": "81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd", "CatalogId": 1, "Title": "sample string 2", "Description": "sample string 3", "IsPublish": true, "PublishState": 1, "CreatedTime": "2024-09-25T00:09:18.6871804+08:00", "LastUpdatedTime": "2024-09-25T00:09:18.6871804+08:00", "HasSubmited": true, "HasMarked": true } ] } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"CatalogId":1,"CatalogName":"sample string 2","Exams":[{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true},{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true}]},{"CatalogId":1,"CatalogName":"sample string 2","Exams":[{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true},{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true}]}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfExamListViewDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <ExamListViewDto> <CatalogId>1</CatalogId> <CatalogName>sample string 2</CatalogName> <Exams> <ExamLiDto> <CatalogId>1</CatalogId> <CreatedTime>2024-09-25T00:09:18.6871804+08:00</CreatedTime> <Description>sample string 3</Description> <HasMarked>true</HasMarked> <HasSubmited>true</HasSubmited> <Id>fce6a38f-a3d5-4274-821c-06ae83a7b4a1</Id> <IsPublish>true</IsPublish> <LastUpdatedTime>2024-09-25T00:09:18.6871804+08:00</LastUpdatedTime> <PubId>81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd</PubId> <PublishState>未发布</PublishState> <Title>sample string 2</Title> </ExamLiDto> <ExamLiDto> <CatalogId>1</CatalogId> <CreatedTime>2024-09-25T00:09:18.6871804+08:00</CreatedTime> <Description>sample string 3</Description> <HasMarked>true</HasMarked> <HasSubmited>true</HasSubmited> <Id>fce6a38f-a3d5-4274-821c-06ae83a7b4a1</Id> <IsPublish>true</IsPublish> <LastUpdatedTime>2024-09-25T00:09:18.6871804+08:00</LastUpdatedTime> <PubId>81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd</PubId> <PublishState>未发布</PublishState> <Title>sample string 2</Title> </ExamLiDto> </Exams> </ExamListViewDto> <ExamListViewDto> <CatalogId>1</CatalogId> <CatalogName>sample string 2</CatalogName> <Exams> <ExamLiDto> <CatalogId>1</CatalogId> <CreatedTime>2024-09-25T00:09:18.6871804+08:00</CreatedTime> <Description>sample string 3</Description> <HasMarked>true</HasMarked> <HasSubmited>true</HasSubmited> <Id>fce6a38f-a3d5-4274-821c-06ae83a7b4a1</Id> <IsPublish>true</IsPublish> <LastUpdatedTime>2024-09-25T00:09:18.6871804+08:00</LastUpdatedTime> <PubId>81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd</PubId> <PublishState>未发布</PublishState> <Title>sample string 2</Title> </ExamLiDto> <ExamLiDto> <CatalogId>1</CatalogId> <CreatedTime>2024-09-25T00:09:18.6871804+08:00</CreatedTime> <Description>sample string 3</Description> <HasMarked>true</HasMarked> <HasSubmited>true</HasSubmited> <Id>fce6a38f-a3d5-4274-821c-06ae83a7b4a1</Id> <IsPublish>true</IsPublish> <LastUpdatedTime>2024-09-25T00:09:18.6871804+08:00</LastUpdatedTime> <PubId>81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd</PubId> <PublishState>未发布</PublishState> <Title>sample string 2</Title> </ExamLiDto> </Exams> </ExamListViewDto> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfExamListViewDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"CatalogId":1,"CatalogName":"sample string 2","Exams":[{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true},{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true}]},{"CatalogId":1,"CatalogName":"sample string 2","Exams":[{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true},{"Id":"fce6a38f-a3d5-4274-821c-06ae83a7b4a1","PubId":"81d26c2b-0fbd-4c1e-bddf-4882d4d7bbfd","CatalogId":1,"Title":"sample string 2","Description":"sample string 3","IsPublish":true,"PublishState":1,"CreatedTime":"2024-09-25T00:09:18.6871804+08:00","LastUpdatedTime":"2024-09-25T00:09:18.6871804+08:00","HasSubmited":true,"HasMarked":true}]}]});