GET api/retest/loadretestanswerbyexamid?id={id}&memberId={memberId}&nopt={nopt}
根据习题编号与用户编号加载带答题结果的习题
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
习题编号 |
globally unique identifier |
Required |
memberId |
用户编号(学生查看结果时,不用传该参数) |
string |
Default value is |
nopt |
为true时加载试题选项 |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
根据习题编号与用户编号加载带答题结果的习题
JsonRtnDtoOfExamAnswerShowDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ExamAnswerShowDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Title": "sample string 1", "StudentName": "sample string 2", "ReTestSet": [ { "Id": "b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a", "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", "StudentAnswer": { "AnswerInfo": "sample string 1", "IsRight": true, "Score": 3.1, "Frequency": 4, "Evaluate": "sample string 5" }, "Difficulty": 5, "Score": 6.1, "Options": [ { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "1a3fd07e-3607-4645-a0cc-8e26758ad1f1", "OptionAnalysis": "sample string 4", "Id": "d6790b3e-442c-4d6d-93b5-9e3c35a09079", "CreatedTime": "2024-09-21T08:55:22.9698909+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:22.9698909+08:00" }, { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "1a3fd07e-3607-4645-a0cc-8e26758ad1f1", "OptionAnalysis": "sample string 4", "Id": "d6790b3e-442c-4d6d-93b5-9e3c35a09079", "CreatedTime": "2024-09-21T08:55:22.9698909+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:22.9698909+08:00" } ] }, { "Id": "b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a", "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", "StudentAnswer": { "AnswerInfo": "sample string 1", "IsRight": true, "Score": 3.1, "Frequency": 4, "Evaluate": "sample string 5" }, "Difficulty": 5, "Score": 6.1, "Options": [ { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "1a3fd07e-3607-4645-a0cc-8e26758ad1f1", "OptionAnalysis": "sample string 4", "Id": "d6790b3e-442c-4d6d-93b5-9e3c35a09079", "CreatedTime": "2024-09-21T08:55:22.9698909+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:22.9698909+08:00" }, { "OptionInfo": "sample string 1", "OptionIndex": 2, "ReTestID": "1a3fd07e-3607-4645-a0cc-8e26758ad1f1", "OptionAnalysis": "sample string 4", "Id": "d6790b3e-442c-4d6d-93b5-9e3c35a09079", "CreatedTime": "2024-09-21T08:55:22.9698909+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-21T08:55:22.9698909+08:00" } ] } ], "StudentScore": 6.2, "TotalScore": 12.2 } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Title":"sample string 1","StudentName":"sample string 2","ReTestSet":[{"Id":"b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a","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","StudentAnswer":{"AnswerInfo":"sample string 1","IsRight":true,"Score":3.1,"Frequency":4,"Evaluate":"sample string 5"},"Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"}]},{"Id":"b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a","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","StudentAnswer":{"AnswerInfo":"sample string 1","IsRight":true,"Score":3.1,"Frequency":4,"Evaluate":"sample string 5"},"Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"}]}],"StudentScore":6.2,"TotalScore":12.2}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfExamAnswerShowDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <ReTestSet> <ListReTestAnswerDto> <CorrectAnswer>sample string 4</CorrectAnswer> <Difficulty>5</Difficulty> <Id>b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a</Id> <Options xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:22.9698909+08:00</d5p1:CreatedTime> <d5p1:Id>d6790b3e-442c-4d6d-93b5-9e3c35a09079</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:22.9698909+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>1a3fd07e-3607-4645-a0cc-8e26758ad1f1</d5p1:ReTestID> </d5p1:ReTestOptions> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:22.9698909+08:00</d5p1:CreatedTime> <d5p1:Id>d6790b3e-442c-4d6d-93b5-9e3c35a09079</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:22.9698909+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>1a3fd07e-3607-4645-a0cc-8e26758ad1f1</d5p1:ReTestID> </d5p1:ReTestOptions> </Options> <Score>6.1</Score> <Stem>sample string 3</Stem> <StudentAnswer> <AnswerInfo>sample string 1</AnswerInfo> <Evaluate>sample string 5</Evaluate> <Frequency>4</Frequency> <IsRight>true</IsRight> <Score>3.1</Score> </StudentAnswer> <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> </ListReTestAnswerDto> <ListReTestAnswerDto> <CorrectAnswer>sample string 4</CorrectAnswer> <Difficulty>5</Difficulty> <Id>b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a</Id> <Options xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:22.9698909+08:00</d5p1:CreatedTime> <d5p1:Id>d6790b3e-442c-4d6d-93b5-9e3c35a09079</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:22.9698909+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>1a3fd07e-3607-4645-a0cc-8e26758ad1f1</d5p1:ReTestID> </d5p1:ReTestOptions> <d5p1:ReTestOptions> <d5p1:CreatedTime>2024-09-21T08:55:22.9698909+08:00</d5p1:CreatedTime> <d5p1:Id>d6790b3e-442c-4d6d-93b5-9e3c35a09079</d5p1:Id> <d5p1:IsDeleted>true</d5p1:IsDeleted> <d5p1:LastUpdatedTime>2024-09-21T08:55:22.9698909+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>1a3fd07e-3607-4645-a0cc-8e26758ad1f1</d5p1:ReTestID> </d5p1:ReTestOptions> </Options> <Score>6.1</Score> <Stem>sample string 3</Stem> <StudentAnswer> <AnswerInfo>sample string 1</AnswerInfo> <Evaluate>sample string 5</Evaluate> <Frequency>4</Frequency> <IsRight>true</IsRight> <Score>3.1</Score> </StudentAnswer> <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> </ListReTestAnswerDto> </ReTestSet> <StudentName>sample string 2</StudentName> <Title>sample string 1</Title> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfExamAnswerShowDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Title":"sample string 1","StudentName":"sample string 2","ReTestSet":[{"Id":"b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a","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","StudentAnswer":{"AnswerInfo":"sample string 1","IsRight":true,"Score":3.1,"Frequency":4,"Evaluate":"sample string 5"},"Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"}]},{"Id":"b32107bb-8c9b-4c0c-97b8-a4b1ddfc8a6a","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","StudentAnswer":{"AnswerInfo":"sample string 1","IsRight":true,"Score":3.1,"Frequency":4,"Evaluate":"sample string 5"},"Difficulty":5,"Score":6.1,"Options":[{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"},{"OptionInfo":"sample string 1","OptionIndex":2,"ReTestID":"1a3fd07e-3607-4645-a0cc-8e26758ad1f1","OptionAnalysis":"sample string 4","Id":"d6790b3e-442c-4d6d-93b5-9e3c35a09079","CreatedTime":"2024-09-21T08:55:22.9698909+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-21T08:55:22.9698909+08:00"}]}],"StudentScore":6.2,"TotalScore":12.2}});