POST api/ConstRule/SaveReTest

保存试题

Request Information

URI Parameters

None.

Body Parameters

SaveConstRuleReTestDto
NameDescriptionTypeAdditional 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": "00b743b2-49e8-4bb3-978d-4778c923901c",
  "ReTestId": "c72ad044-0e3e-4c4c-a51f-de3449951a72",
  "RuleInfo": "sample string 3",
  "PaperId": "8b8634d6-5268-4151-b229-42cc38121d60",
  "Index": 5,
  "ReTestRepositoryId": 6
}

text/html

Sample:
{"ConstRuleId":"00b743b2-49e8-4bb3-978d-4778c923901c","ReTestId":"c72ad044-0e3e-4c4c-a51f-de3449951a72","RuleInfo":"sample string 3","PaperId":"8b8634d6-5268-4151-b229-42cc38121d60","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>00b743b2-49e8-4bb3-978d-4778c923901c</ConstRuleId>
  <Index>5</Index>
  <PaperId>8b8634d6-5268-4151-b229-42cc38121d60</PaperId>
  <ReTestId>c72ad044-0e3e-4c4c-a51f-de3449951a72</ReTestId>
  <ReTestRepositoryId>6</ReTestRepositoryId>
  <RuleInfo>sample string 3</RuleInfo>
</SaveConstRuleReTestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存试题

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional 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});