POST api/selftestwrongsets/save
错题保存成功
Request Information
URI Parameters
None.
Body Parameters
WrongSetDtoName | Description | Type | Additional information |
---|---|---|---|
TestId |
试题编号 |
globally unique identifier |
None. |
StrId |
自测编号 |
integer |
None. |
StuId |
学生编号 |
string |
None. |
Difficulty |
难度 |
integer |
None. |
Knowledge |
知识点 |
string |
None. |
ProfessionalCourseId |
课程编号 |
integer |
None. |
ProfessionalCoursePath |
课程Path |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TestId": "d572b3c0-6a7e-48a2-bc0f-3bdb3b9c3e64", "StrId": 2, "StuId": "sample string 3", "Difficulty": 4, "Knowledge": "sample string 5", "ProfessionalCourseId": 6, "ProfessionalCoursePath": "sample string 7" }
text/html
Sample:
{"TestId":"d572b3c0-6a7e-48a2-bc0f-3bdb3b9c3e64","StrId":2,"StuId":"sample string 3","Difficulty":4,"Knowledge":"sample string 5","ProfessionalCourseId":6,"ProfessionalCoursePath":"sample string 7"}
application/xml, text/xml
Sample:
<WrongSetDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Difficulty>4</Difficulty> <Knowledge>sample string 5</Knowledge> <ProfessionalCourseId>6</ProfessionalCourseId> <ProfessionalCoursePath>sample string 7</ProfessionalCoursePath> <StrId>2</StrId> <StuId>sample string 3</StuId> <TestId>d572b3c0-6a7e-48a2-bc0f-3bdb3b9c3e64</TestId> </WrongSetDto>
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});