POST api/ConstRule/SaveOfflineReTest
保存Offline试题
Request Information
URI Parameters
None.
Body Parameters
SaveConstRuleReTestDtoName | Description | Type | Additional information |
---|---|---|---|
ConstRuleId |
大题编号 |
globally unique identifier |
None. |
ReTestId |
试题编号 |
globally unique identifier |
None. |
RuleInfo |
小规则 |
string |
None. |
PaperId |
试卷编号 |
globally unique identifier |
None. |
Index |
排序编号 |
integer |
None. |
ReTestRepositoryId |
题库编号 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ConstRuleId": "790582ed-fc5e-45e8-941d-1dedaa56b950", "ReTestId": "58e9ab6f-5f26-4b63-8f3a-7e38f567d580", "RuleInfo": "sample string 3", "PaperId": "91912886-f34b-4974-a0f2-8076827359bf", "Index": 5, "ReTestRepositoryId": 6 }
text/html
Sample:
{"ConstRuleId":"790582ed-fc5e-45e8-941d-1dedaa56b950","ReTestId":"58e9ab6f-5f26-4b63-8f3a-7e38f567d580","RuleInfo":"sample string 3","PaperId":"91912886-f34b-4974-a0f2-8076827359bf","Index":5,"ReTestRepositoryId":6}
application/xml, text/xml
Sample:
<SaveConstRuleReTestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ConstRuleId>790582ed-fc5e-45e8-941d-1dedaa56b950</ConstRuleId> <Index>5</Index> <PaperId>91912886-f34b-4974-a0f2-8076827359bf</PaperId> <ReTestId>58e9ab6f-5f26-4b63-8f3a-7e38f567d580</ReTestId> <ReTestRepositoryId>6</ReTestRepositoryId> <RuleInfo>sample string 3</RuleInfo> </SaveConstRuleReTestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存Offline试题
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});