GET api/retest/loadretestbyexamid?id={id}&nopt={nopt}
根据习题编号加载试题
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
习题编号 |
globally unique identifier |
Required |
nopt |
为true时加载试题选项 |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
根据习题编号加载试题
JsonRtnDtoOfExamShowDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ExamShowDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "PubId": "f8aa2bf7-52a6-4ff1-bb42-d5dc35907ed7", "Title": "sample string 1", "ReTestSet": [ { "Id": "0207c10c-7b8f-413f-bf0a-976eb79e94ad", "Type": { "Id": 1, "Belongs": 1, "TypeName": "sample string 2", "IsSubjective": true, "TemplateLink": "sample string 4" }, "UserId": 2, "Stem": "sample string 3", "CorrectAnswer": "sample string 4", "Difficulty": 5, "Score": 6.1, "Options": [ { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "481a313b-1f92-4f41-a45e-4d52890dade9", "OptionAnalysis": "sample string 4", "Id": "d608dad6-6dbf-425e-8574-bca2e84de802", "CreatedTime": "2024-09-21T08:55:23.1900625+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:23.1900625+08:00" }, { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "481a313b-1f92-4f41-a45e-4d52890dade9", "OptionAnalysis": "sample string 4", "Id": "d608dad6-6dbf-425e-8574-bca2e84de802", "CreatedTime": "2024-09-21T08:55:23.1900625+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:23.1900625+08:00" } ] }, { "Id": "0207c10c-7b8f-413f-bf0a-976eb79e94ad", "Type": { "Id": 1, "Belongs": 1, "TypeName": "sample string 2", "IsSubjective": true, "TemplateLink": "sample string 4" }, "UserId": 2, "Stem": "sample string 3", "CorrectAnswer": "sample string 4", "Difficulty": 5, "Score": 6.1, "Options": [ { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "481a313b-1f92-4f41-a45e-4d52890dade9", "OptionAnalysis": "sample string 4", "Id": "d608dad6-6dbf-425e-8574-bca2e84de802", "CreatedTime": "2024-09-21T08:55:23.1900625+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:23.1900625+08:00" }, { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "481a313b-1f92-4f41-a45e-4d52890dade9", "OptionAnalysis": "sample string 4", "Id": "d608dad6-6dbf-425e-8574-bca2e84de802", "CreatedTime": "2024-09-21T08:55:23.1900625+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:23.1900625+08:00" } ] } ] } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"PubId":"f8aa2bf7-52a6-4ff1-bb42-d5dc35907ed7","Title":"sample string 1","ReTestSet":[{"Id":"0207c10c-7b8f-413f-bf0a-976eb79e94ad","Type":{"Id":1,"Belongs":1,"TypeName":"sample string 2","IsSubjective":true,"TemplateLink":"sample string 4"},"UserId":2,"Stem":"sample string 3","CorrectAnswer":"sample string 4","Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"}]},{"Id":"0207c10c-7b8f-413f-bf0a-976eb79e94ad","Type":{"Id":1,"Belongs":1,"TypeName":"sample string 2","IsSubjective":true,"TemplateLink":"sample string 4"},"UserId":2,"Stem":"sample string 3","CorrectAnswer":"sample string 4","Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"}]}]}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfExamShowDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <PubId>f8aa2bf7-52a6-4ff1-bb42-d5dc35907ed7</PubId> <ReTestSet> <ListReTestDto> <CorrectAnswer>sample string 4</CorrectAnswer> <Difficulty>5</Difficulty> <Id>0207c10c-7b8f-413f-bf0a-976eb79e94ad</Id> <Options xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:CreatedTime> <d5p1:Id>d608dad6-6dbf-425e-8574-bca2e84de802</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:LastUpdatedTime> <d5p1:OptionAnalysis>sample string 4</d5p1:OptionAnalysis> <d5p1:OptionIndex>2</d5p1:OptionIndex> <d5p1:OptionInfo>sample string 1</d5p1:OptionInfo> <d5p1:ReTestID>481a313b-1f92-4f41-a45e-4d52890dade9</d5p1:ReTestID> </d5p1:ReTestOptions> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:CreatedTime> <d5p1:Id>d608dad6-6dbf-425e-8574-bca2e84de802</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:LastUpdatedTime> <d5p1:OptionAnalysis>sample string 4</d5p1:OptionAnalysis> <d5p1:OptionIndex>2</d5p1:OptionIndex> <d5p1:OptionInfo>sample string 1</d5p1:OptionInfo> <d5p1:ReTestID>481a313b-1f92-4f41-a45e-4d52890dade9</d5p1:ReTestID> </d5p1:ReTestOptions> </Options> <Score>6.1</Score> <Stem>sample string 3</Stem> <Type xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d5p1:Belongs>基础题型</d5p1:Belongs> <d5p1:Id>1</d5p1:Id> <d5p1:IsSubjective>true</d5p1:IsSubjective> <d5p1:TemplateLink>sample string 4</d5p1:TemplateLink> <d5p1:TypeName>sample string 2</d5p1:TypeName> </Type> <UserId>2</UserId> </ListReTestDto> <ListReTestDto> <CorrectAnswer>sample string 4</CorrectAnswer> <Difficulty>5</Difficulty> <Id>0207c10c-7b8f-413f-bf0a-976eb79e94ad</Id> <Options xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:CreatedTime> <d5p1:Id>d608dad6-6dbf-425e-8574-bca2e84de802</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:LastUpdatedTime> <d5p1:OptionAnalysis>sample string 4</d5p1:OptionAnalysis> <d5p1:OptionIndex>2</d5p1:OptionIndex> <d5p1:OptionInfo>sample string 1</d5p1:OptionInfo> <d5p1:ReTestID>481a313b-1f92-4f41-a45e-4d52890dade9</d5p1:ReTestID> </d5p1:ReTestOptions> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:CreatedTime> <d5p1:Id>d608dad6-6dbf-425e-8574-bca2e84de802</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:23.1900625+08:00</d5p1:LastUpdatedTime> <d5p1:OptionAnalysis>sample string 4</d5p1:OptionAnalysis> <d5p1:OptionIndex>2</d5p1:OptionIndex> <d5p1:OptionInfo>sample string 1</d5p1:OptionInfo> <d5p1:ReTestID>481a313b-1f92-4f41-a45e-4d52890dade9</d5p1:ReTestID> </d5p1:ReTestOptions> </Options> <Score>6.1</Score> <Stem>sample string 3</Stem> <Type xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d5p1:Belongs>基础题型</d5p1:Belongs> <d5p1:Id>1</d5p1:Id> <d5p1:IsSubjective>true</d5p1:IsSubjective> <d5p1:TemplateLink>sample string 4</d5p1:TemplateLink> <d5p1:TypeName>sample string 2</d5p1:TypeName> </Type> <UserId>2</UserId> </ListReTestDto> </ReTestSet> <Title>sample string 1</Title> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfExamShowDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"PubId":"f8aa2bf7-52a6-4ff1-bb42-d5dc35907ed7","Title":"sample string 1","ReTestSet":[{"Id":"0207c10c-7b8f-413f-bf0a-976eb79e94ad","Type":{"Id":1,"Belongs":1,"TypeName":"sample string 2","IsSubjective":true,"TemplateLink":"sample string 4"},"UserId":2,"Stem":"sample string 3","CorrectAnswer":"sample string 4","Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"}]},{"Id":"0207c10c-7b8f-413f-bf0a-976eb79e94ad","Type":{"Id":1,"Belongs":1,"TypeName":"sample string 2","IsSubjective":true,"TemplateLink":"sample string 4"},"UserId":2,"Stem":"sample string 3","CorrectAnswer":"sample string 4","Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"481a313b-1f92-4f41-a45e-4d52890dade9","OptionAnalysis":"sample string 4","Id":"d608dad6-6dbf-425e-8574-bca2e84de802","CreatedTime":"2024-09-21T08:55:23.1900625+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:23.1900625+08:00"}]}]}});