POST api/ConstRule/SaveOfflineConstRule
添加线下大题
Request Information
URI Parameters
None.
Body Parameters
SaveConstRuleDtoName | Description | Type | Additional information |
---|---|---|---|
PaperId |
试卷编号 |
globally unique identifier |
None. |
RuleInfo |
大题名称 |
string |
None. |
Sort |
排序 |
integer |
None. |
ReTestRepositoryId |
题库编号 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaperId": "2b2d06ef-9caf-4cbc-bc70-4d87d88057ef", "RuleInfo": "sample string 2", "Sort": 3, "ReTestRepositoryId": 4 }
text/html
Sample:
{"PaperId":"2b2d06ef-9caf-4cbc-bc70-4d87d88057ef","RuleInfo":"sample string 2","Sort":3,"ReTestRepositoryId":4}
application/xml, text/xml
Sample:
<SaveConstRuleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <PaperId>2b2d06ef-9caf-4cbc-bc70-4d87d88057ef</PaperId> <ReTestRepositoryId>4</ReTestRepositoryId> <RuleInfo>sample string 2</RuleInfo> <Sort>3</Sort> </SaveConstRuleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
添加线下大题
JsonRtnDtoOfGuidName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": "119a6565-7fc5-434f-8c51-ca300416aae1" }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":"119a6565-7fc5-434f-8c51-ca300416aae1"}
application/xml, text/xml
Sample:
<JsonRtnDtoOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>119a6565-7fc5-434f-8c51-ca300416aae1</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfguid>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":"119a6565-7fc5-434f-8c51-ca300416aae1"});