POST api/testpaperconfig/ReSetPaperScore

重置试卷分数

Request Information

URI Parameters

None.

Body Parameters

ReSetRuleScoreDto
NameDescriptionTypeAdditional information
PaperId

试卷编号

globally unique identifier

None.

Lrrd

随机选题规则

Collection of RandomRuleDto

None.

Lcrd

随机选题规则

Collection of ConstRuleDto

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "456707b9-d307-4a14-a23a-e6412be10413",
  "Lrrd": [
    {
      "Id": "de6102aa-041d-4acc-8993-196425b05ce8",
      "Knowledge": "sample string 2",
      "PId": "2c6121da-0da6-4a2c-8e30-a507b9aa0782",
      "RuleInfo": "sample string 3",
      "RuleType": 1,
      "Taget": 4,
      "TestTypeId": 5,
      "Difficulty": 6,
      "ReTestNum": 7,
      "Score": "sample string 8",
      "ReTestRepositoryId": 9,
      "DescribeReTestRepositoryId": "0016bd72-5950-4d7e-991a-c28d6ff0d495",
      "Sort": 10
    },
    {
      "Id": "de6102aa-041d-4acc-8993-196425b05ce8",
      "Knowledge": "sample string 2",
      "PId": "2c6121da-0da6-4a2c-8e30-a507b9aa0782",
      "RuleInfo": "sample string 3",
      "RuleType": 1,
      "Taget": 4,
      "TestTypeId": 5,
      "Difficulty": 6,
      "ReTestNum": 7,
      "Score": "sample string 8",
      "ReTestRepositoryId": 9,
      "DescribeReTestRepositoryId": "0016bd72-5950-4d7e-991a-c28d6ff0d495",
      "Sort": 10
    }
  ],
  "Lcrd": [
    {
      "Id": "bb447fba-1b8f-4d83-9e07-53a89baeca08",
      "Knowledge": "sample string 2",
      "PId": "f52718c4-07e8-4f6a-8506-8ef1cf84c1e2",
      "RuleInfo": "sample string 3",
      "RuleType": 1,
      "Taget": 4,
      "TestTypeId": 5,
      "Difficulty": 6,
      "Score": "sample string 7",
      "ReTestRepositoryId": 8,
      "DescribeReTestRepositoryId": "9521f95f-5e10-4df2-a07b-4ebe4a8ebbd7",
      "Lcrrtd": [
        {
          "ConstRuleId": "96bb6feb-ac1c-4c46-b21d-ea2592eace24",
          "ReTestId": "f6b11034-cb2f-4b1f-a431-cdcb62e208da",
          "Index": 3
        },
        {
          "ConstRuleId": "96bb6feb-ac1c-4c46-b21d-ea2592eace24",
          "ReTestId": "f6b11034-cb2f-4b1f-a431-cdcb62e208da",
          "Index": 3
        }
      ]
    },
    {
      "Id": "bb447fba-1b8f-4d83-9e07-53a89baeca08",
      "Knowledge": "sample string 2",
      "PId": "f52718c4-07e8-4f6a-8506-8ef1cf84c1e2",
      "RuleInfo": "sample string 3",
      "RuleType": 1,
      "Taget": 4,
      "TestTypeId": 5,
      "Difficulty": 6,
      "Score": "sample string 7",
      "ReTestRepositoryId": 8,
      "DescribeReTestRepositoryId": "9521f95f-5e10-4df2-a07b-4ebe4a8ebbd7",
      "Lcrrtd": [
        {
          "ConstRuleId": "96bb6feb-ac1c-4c46-b21d-ea2592eace24",
          "ReTestId": "f6b11034-cb2f-4b1f-a431-cdcb62e208da",
          "Index": 3
        },
        {
          "ConstRuleId": "96bb6feb-ac1c-4c46-b21d-ea2592eace24",
          "ReTestId": "f6b11034-cb2f-4b1f-a431-cdcb62e208da",
          "Index": 3
        }
      ]
    }
  ]
}

text/html

Sample:
{"PaperId":"456707b9-d307-4a14-a23a-e6412be10413","Lrrd":[{"Id":"de6102aa-041d-4acc-8993-196425b05ce8","Knowledge":"sample string 2","PId":"2c6121da-0da6-4a2c-8e30-a507b9aa0782","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"ReTestNum":7,"Score":"sample string 8","ReTestRepositoryId":9,"DescribeReTestRepositoryId":"0016bd72-5950-4d7e-991a-c28d6ff0d495","Sort":10},{"Id":"de6102aa-041d-4acc-8993-196425b05ce8","Knowledge":"sample string 2","PId":"2c6121da-0da6-4a2c-8e30-a507b9aa0782","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"ReTestNum":7,"Score":"sample string 8","ReTestRepositoryId":9,"DescribeReTestRepositoryId":"0016bd72-5950-4d7e-991a-c28d6ff0d495","Sort":10}],"Lcrd":[{"Id":"bb447fba-1b8f-4d83-9e07-53a89baeca08","Knowledge":"sample string 2","PId":"f52718c4-07e8-4f6a-8506-8ef1cf84c1e2","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"Score":"sample string 7","ReTestRepositoryId":8,"DescribeReTestRepositoryId":"9521f95f-5e10-4df2-a07b-4ebe4a8ebbd7","Lcrrtd":[{"ConstRuleId":"96bb6feb-ac1c-4c46-b21d-ea2592eace24","ReTestId":"f6b11034-cb2f-4b1f-a431-cdcb62e208da","Index":3},{"ConstRuleId":"96bb6feb-ac1c-4c46-b21d-ea2592eace24","ReTestId":"f6b11034-cb2f-4b1f-a431-cdcb62e208da","Index":3}]},{"Id":"bb447fba-1b8f-4d83-9e07-53a89baeca08","Knowledge":"sample string 2","PId":"f52718c4-07e8-4f6a-8506-8ef1cf84c1e2","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"Score":"sample string 7","ReTestRepositoryId":8,"DescribeReTestRepositoryId":"9521f95f-5e10-4df2-a07b-4ebe4a8ebbd7","Lcrrtd":[{"ConstRuleId":"96bb6feb-ac1c-4c46-b21d-ea2592eace24","ReTestId":"f6b11034-cb2f-4b1f-a431-cdcb62e208da","Index":3},{"ConstRuleId":"96bb6feb-ac1c-4c46-b21d-ea2592eace24","ReTestId":"f6b11034-cb2f-4b1f-a431-cdcb62e208da","Index":3}]}]}

application/xml, text/xml

Sample:
<ReSetRuleScoreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Lcrd>
    <ConstRuleDto>
      <DescribeReTestRepositoryId>9521f95f-5e10-4df2-a07b-4ebe4a8ebbd7</DescribeReTestRepositoryId>
      <Difficulty>6</Difficulty>
      <Id>bb447fba-1b8f-4d83-9e07-53a89baeca08</Id>
      <Knowledge>sample string 2</Knowledge>
      <Lcrrtd>
        <ConstRuleReTestDto>
          <ConstRuleId>96bb6feb-ac1c-4c46-b21d-ea2592eace24</ConstRuleId>
          <Index>3</Index>
          <ReTestId>f6b11034-cb2f-4b1f-a431-cdcb62e208da</ReTestId>
        </ConstRuleReTestDto>
        <ConstRuleReTestDto>
          <ConstRuleId>96bb6feb-ac1c-4c46-b21d-ea2592eace24</ConstRuleId>
          <Index>3</Index>
          <ReTestId>f6b11034-cb2f-4b1f-a431-cdcb62e208da</ReTestId>
        </ConstRuleReTestDto>
      </Lcrrtd>
      <PId>f52718c4-07e8-4f6a-8506-8ef1cf84c1e2</PId>
      <ReTestRepositoryId>8</ReTestRepositoryId>
      <RuleInfo>sample string 3</RuleInfo>
      <RuleType>组合规则</RuleType>
      <Score>sample string 7</Score>
      <Taget>4</Taget>
      <TestTypeId>5</TestTypeId>
    </ConstRuleDto>
    <ConstRuleDto>
      <DescribeReTestRepositoryId>9521f95f-5e10-4df2-a07b-4ebe4a8ebbd7</DescribeReTestRepositoryId>
      <Difficulty>6</Difficulty>
      <Id>bb447fba-1b8f-4d83-9e07-53a89baeca08</Id>
      <Knowledge>sample string 2</Knowledge>
      <Lcrrtd>
        <ConstRuleReTestDto>
          <ConstRuleId>96bb6feb-ac1c-4c46-b21d-ea2592eace24</ConstRuleId>
          <Index>3</Index>
          <ReTestId>f6b11034-cb2f-4b1f-a431-cdcb62e208da</ReTestId>
        </ConstRuleReTestDto>
        <ConstRuleReTestDto>
          <ConstRuleId>96bb6feb-ac1c-4c46-b21d-ea2592eace24</ConstRuleId>
          <Index>3</Index>
          <ReTestId>f6b11034-cb2f-4b1f-a431-cdcb62e208da</ReTestId>
        </ConstRuleReTestDto>
      </Lcrrtd>
      <PId>f52718c4-07e8-4f6a-8506-8ef1cf84c1e2</PId>
      <ReTestRepositoryId>8</ReTestRepositoryId>
      <RuleInfo>sample string 3</RuleInfo>
      <RuleType>组合规则</RuleType>
      <Score>sample string 7</Score>
      <Taget>4</Taget>
      <TestTypeId>5</TestTypeId>
    </ConstRuleDto>
  </Lcrd>
  <Lrrd>
    <RandomRuleDto>
      <DescribeReTestRepositoryId>0016bd72-5950-4d7e-991a-c28d6ff0d495</DescribeReTestRepositoryId>
      <Difficulty>6</Difficulty>
      <Id>de6102aa-041d-4acc-8993-196425b05ce8</Id>
      <Knowledge>sample string 2</Knowledge>
      <PId>2c6121da-0da6-4a2c-8e30-a507b9aa0782</PId>
      <ReTestNum>7</ReTestNum>
      <ReTestRepositoryId>9</ReTestRepositoryId>
      <RuleInfo>sample string 3</RuleInfo>
      <RuleType>组合规则</RuleType>
      <Score>sample string 8</Score>
      <Sort>10</Sort>
      <Taget>4</Taget>
      <TestTypeId>5</TestTypeId>
    </RandomRuleDto>
    <RandomRuleDto>
      <DescribeReTestRepositoryId>0016bd72-5950-4d7e-991a-c28d6ff0d495</DescribeReTestRepositoryId>
      <Difficulty>6</Difficulty>
      <Id>de6102aa-041d-4acc-8993-196425b05ce8</Id>
      <Knowledge>sample string 2</Knowledge>
      <PId>2c6121da-0da6-4a2c-8e30-a507b9aa0782</PId>
      <ReTestNum>7</ReTestNum>
      <ReTestRepositoryId>9</ReTestRepositoryId>
      <RuleInfo>sample string 3</RuleInfo>
      <RuleType>组合规则</RuleType>
      <Score>sample string 8</Score>
      <Sort>10</Sort>
      <Taget>4</Taget>
      <TestTypeId>5</TestTypeId>
    </RandomRuleDto>
  </Lrrd>
  <PaperId>456707b9-d307-4a14-a23a-e6412be10413</PaperId>
</ReSetRuleScoreDto>

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