POST api/ConstRule/SaveConstRule
添加大题
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": "c0755c79-b48a-4167-bca7-ba77df8fbb13", "RuleInfo": "sample string 2", "Sort": 3, "ReTestRepositoryId": 4 }
text/html
Sample:
{"PaperId":"c0755c79-b48a-4167-bca7-ba77df8fbb13","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>c0755c79-b48a-4167-bca7-ba77df8fbb13</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": "e515f8e0-2534-4dbb-bbc9-d1a93b9930fd" }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":"e515f8e0-2534-4dbb-bbc9-d1a93b9930fd"}
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>e515f8e0-2534-4dbb-bbc9-d1a93b9930fd</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":"e515f8e0-2534-4dbb-bbc9-d1a93b9930fd"});