POST api/interact/stusubmittest
学生提交课堂测试
Request Information
URI Parameters
None.
Body Parameters
参数
ClassTestDtoName | Description | Type | Additional information |
---|---|---|---|
cid |
班课编号 |
globally unique identifier |
None. |
Title |
标题 |
string |
None. |
ClassPrepareIds |
备课题ID |
Collection of globally unique identifier |
None. |
list |
学生答题记录 |
Collection of ClassStuTest |
None. |
IsEnd |
学生是否被停止动作 |
boolean |
None. |
teacherid |
教师id |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "cid": "42be7dc9-2c3f-475d-a3bc-4bd7c7edc683", "Title": "sample string 2", "ClassPrepareIds": [ "cbcb404d-88d9-4057-96d2-15e50d030505", "2f08c6ef-f601-4d5f-83e2-596a25aa0e70" ], "list": [ { "Id": "142313ac-c81f-4b1f-b145-c7e3e36ae8b6", "ClassPrepareId": "a8ad368c-6e28-4cac-9c03-fb7201011b2d", "Title": "sample string 3", "TrueAnswer": "sample string 4", "StuAnswer": "sample string 5", "IsTrue": true, "StuId": "sample string 7", "CourseId": "92572826-8e74-4971-a068-5bc36bfe3c98", "CreatedTime": "2024-09-25T00:05:05.9824597+08:00" }, { "Id": "142313ac-c81f-4b1f-b145-c7e3e36ae8b6", "ClassPrepareId": "a8ad368c-6e28-4cac-9c03-fb7201011b2d", "Title": "sample string 3", "TrueAnswer": "sample string 4", "StuAnswer": "sample string 5", "IsTrue": true, "StuId": "sample string 7", "CourseId": "92572826-8e74-4971-a068-5bc36bfe3c98", "CreatedTime": "2024-09-25T00:05:05.9824597+08:00" } ], "IsEnd": true, "teacherid": "sample string 4" }
text/html
Sample:
{"cid":"42be7dc9-2c3f-475d-a3bc-4bd7c7edc683","Title":"sample string 2","ClassPrepareIds":["cbcb404d-88d9-4057-96d2-15e50d030505","2f08c6ef-f601-4d5f-83e2-596a25aa0e70"],"list":[{"Id":"142313ac-c81f-4b1f-b145-c7e3e36ae8b6","ClassPrepareId":"a8ad368c-6e28-4cac-9c03-fb7201011b2d","Title":"sample string 3","TrueAnswer":"sample string 4","StuAnswer":"sample string 5","IsTrue":true,"StuId":"sample string 7","CourseId":"92572826-8e74-4971-a068-5bc36bfe3c98","CreatedTime":"2024-09-25T00:05:05.9824597+08:00"},{"Id":"142313ac-c81f-4b1f-b145-c7e3e36ae8b6","ClassPrepareId":"a8ad368c-6e28-4cac-9c03-fb7201011b2d","Title":"sample string 3","TrueAnswer":"sample string 4","StuAnswer":"sample string 5","IsTrue":true,"StuId":"sample string 7","CourseId":"92572826-8e74-4971-a068-5bc36bfe3c98","CreatedTime":"2024-09-25T00:05:05.9824597+08:00"}],"IsEnd":true,"teacherid":"sample string 4"}
application/xml, text/xml
Sample:
<ClassTestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ClassPrepareIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>cbcb404d-88d9-4057-96d2-15e50d030505</d2p1:guid> <d2p1:guid>2f08c6ef-f601-4d5f-83e2-596a25aa0e70</d2p1:guid> </ClassPrepareIds> <IsEnd>true</IsEnd> <Title>sample string 2</Title> <cid>42be7dc9-2c3f-475d-a3bc-4bd7c7edc683</cid> <list xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:ClassStuTest> <d2p1:ClassPrepareId>a8ad368c-6e28-4cac-9c03-fb7201011b2d</d2p1:ClassPrepareId> <d2p1:CourseId>92572826-8e74-4971-a068-5bc36bfe3c98</d2p1:CourseId> <d2p1:CreatedTime>2024-09-25T00:05:05.9824597+08:00</d2p1:CreatedTime> <d2p1:Id>142313ac-c81f-4b1f-b145-c7e3e36ae8b6</d2p1:Id> <d2p1:IsTrue>true</d2p1:IsTrue> <d2p1:StuAnswer>sample string 5</d2p1:StuAnswer> <d2p1:StuId>sample string 7</d2p1:StuId> <d2p1:Title>sample string 3</d2p1:Title> <d2p1:TrueAnswer>sample string 4</d2p1:TrueAnswer> </d2p1:ClassStuTest> <d2p1:ClassStuTest> <d2p1:ClassPrepareId>a8ad368c-6e28-4cac-9c03-fb7201011b2d</d2p1:ClassPrepareId> <d2p1:CourseId>92572826-8e74-4971-a068-5bc36bfe3c98</d2p1:CourseId> <d2p1:CreatedTime>2024-09-25T00:05:05.9824597+08:00</d2p1:CreatedTime> <d2p1:Id>142313ac-c81f-4b1f-b145-c7e3e36ae8b6</d2p1:Id> <d2p1:IsTrue>true</d2p1:IsTrue> <d2p1:StuAnswer>sample string 5</d2p1:StuAnswer> <d2p1:StuId>sample string 7</d2p1:StuId> <d2p1:Title>sample string 3</d2p1:Title> <d2p1:TrueAnswer>sample string 4</d2p1:TrueAnswer> </d2p1:ClassStuTest> </list> <teacherid>sample string 4</teacherid> </ClassTestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
学生提交课堂测试
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});