POST api/retest/SetReTestDifficulty
设置指定试题的试题难度
Request Information
URI Parameters
None.
Body Parameters
SetReTestDifficultyDtoName | Description | Type | Additional information |
---|---|---|---|
ReTestIds |
试题编号 |
Collection of globally unique identifier |
None. |
ReTestDifficulty |
试题难度 |
ReTestDifficulty |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReTestIds": [ "7e1ccd90-43c4-4373-bc36-5d1b91e19a89", "f0d9295d-1a18-4904-ab13-33c8cf662247" ], "ReTestDifficulty": 1 }
text/html
Sample:
{"ReTestIds":["7e1ccd90-43c4-4373-bc36-5d1b91e19a89","f0d9295d-1a18-4904-ab13-33c8cf662247"],"ReTestDifficulty":1}
application/xml, text/xml
Sample:
<SetReTestDifficultyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ReTestDifficulty>一星</ReTestDifficulty> <ReTestIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>7e1ccd90-43c4-4373-bc36-5d1b91e19a89</d2p1:guid> <d2p1:guid>f0d9295d-1a18-4904-ab13-33c8cf662247</d2p1:guid> </ReTestIds> </SetReTestDifficultyDto>
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});