POST api/Conf/SetScoringRatioAutoUpdateSetting
试题难度自动更新设置
Request Information
URI Parameters
None.
Body Parameters
AutoUpdateReTestDifficultyInputDtoName | Description | Type | Additional information |
---|---|---|---|
UpdateReTestDifficultyType |
更新时机 |
UpdateReTestDifficultyType |
None. |
ScoreRateForDifficulty |
试题难度 |
Collection of ScoreRateForDifficulty |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateReTestDifficultyType": 0, "ScoreRateForDifficulty": [ { "MinScoreRate": 1.1, "MaxScoreRate": 2.1, "ReTestDifficulty": 1 }, { "MinScoreRate": 1.1, "MaxScoreRate": 2.1, "ReTestDifficulty": 1 } ] }
text/html
Sample:
{"UpdateReTestDifficultyType":0,"ScoreRateForDifficulty":[{"MinScoreRate":1.1,"MaxScoreRate":2.1,"ReTestDifficulty":1},{"MinScoreRate":1.1,"MaxScoreRate":2.1,"ReTestDifficulty":1}]}
application/xml, text/xml
Sample:
<AutoUpdateReTestDifficultyInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ScoreRateForDifficulty> <ScoreRateForDifficulty> <MaxScoreRate>2.1</MaxScoreRate> <MinScoreRate>1.1</MinScoreRate> <ReTestDifficulty>一星</ReTestDifficulty> </ScoreRateForDifficulty> <ScoreRateForDifficulty> <MaxScoreRate>2.1</MaxScoreRate> <MinScoreRate>1.1</MinScoreRate> <ReTestDifficulty>一星</ReTestDifficulty> </ScoreRateForDifficulty> </ScoreRateForDifficulty> <UpdateReTestDifficultyType>DoNoting</UpdateReTestDifficultyType> </AutoUpdateReTestDifficultyInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
试题难度自动更新设置
JsonRtnDtoOfStringName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": "sample string 2" }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":"sample string 2"}
application/xml, text/xml
Sample:
<JsonRtnDtoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>sample string 2</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfstring>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":"sample string 2"});