POST api/retest/checkmatchedretest

检查组卷随机库是否存在重复题

Request Information

URI Parameters

None.

Body Parameters

CheckMatchedReTestParamSet
NameDescriptionTypeAdditional information
lcmrtpd

试卷规则集合

Collection of CheckMatchedReTestParamDto

None.

pageSize

页大小

integer

None.

pageIndex

页索引

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "lcmrtpd": [
    {
      "pcId": 1,
      "rtrId": 2,
      "knowledge": "sample string 3",
      "difficulty": 4,
      "testTypeId": 5,
      "drtrId": "64f1e421-455a-4605-87cd-d34708aefc64"
    },
    {
      "pcId": 1,
      "rtrId": 2,
      "knowledge": "sample string 3",
      "difficulty": 4,
      "testTypeId": 5,
      "drtrId": "64f1e421-455a-4605-87cd-d34708aefc64"
    }
  ],
  "pageSize": 1,
  "pageIndex": 2
}

text/html

Sample:
{"lcmrtpd":[{"pcId":1,"rtrId":2,"knowledge":"sample string 3","difficulty":4,"testTypeId":5,"drtrId":"64f1e421-455a-4605-87cd-d34708aefc64"},{"pcId":1,"rtrId":2,"knowledge":"sample string 3","difficulty":4,"testTypeId":5,"drtrId":"64f1e421-455a-4605-87cd-d34708aefc64"}],"pageSize":1,"pageIndex":2}

application/xml, text/xml

Sample:
<CheckMatchedReTestParamSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <lcmrtpd>
    <CheckMatchedReTestParamDto>
      <difficulty>4</difficulty>
      <drtrId>64f1e421-455a-4605-87cd-d34708aefc64</drtrId>
      <knowledge>sample string 3</knowledge>
      <pcId>1</pcId>
      <rtrId>2</rtrId>
      <testTypeId>5</testTypeId>
    </CheckMatchedReTestParamDto>
    <CheckMatchedReTestParamDto>
      <difficulty>4</difficulty>
      <drtrId>64f1e421-455a-4605-87cd-d34708aefc64</drtrId>
      <knowledge>sample string 3</knowledge>
      <pcId>1</pcId>
      <rtrId>2</rtrId>
      <testTypeId>5</testTypeId>
    </CheckMatchedReTestParamDto>
  </lcmrtpd>
  <pageIndex>2</pageIndex>
  <pageSize>1</pageSize>
</CheckMatchedReTestParamSet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

检查组卷随机库是否存在重复题

JsonRtnDtoOfPageResultOfMatchedReTestDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

PageResultOfMatchedReTestDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Value": [
      {
        "ReTestId": "34507c0d-7ac2-4fc6-828f-988c88546b53",
        "Stem": "sample string 2",
        "ReTestRepositoryId": 3,
        "RepositoryName": "sample string 4",
        "Rank": 5
      },
      {
        "ReTestId": "34507c0d-7ac2-4fc6-828f-988c88546b53",
        "Stem": "sample string 2",
        "ReTestRepositoryId": 3,
        "RepositoryName": "sample string 4",
        "Rank": 5
      }
    ],
    "PageIndex": 1,
    "PageSize": 2,
    "total": 3,
    "TotalPages": 4,
    "HasPreviousPage": false,
    "HasNextPage": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"ReTestId":"34507c0d-7ac2-4fc6-828f-988c88546b53","Stem":"sample string 2","ReTestRepositoryId":3,"RepositoryName":"sample string 4","Rank":5},{"ReTestId":"34507c0d-7ac2-4fc6-828f-988c88546b53","Stem":"sample string 2","ReTestRepositoryId":3,"RepositoryName":"sample string 4","Rank":5}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfPageResultOfMatchedReTestDtov3CTEUQJS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">
    <d2p1:PageIndex>1</d2p1:PageIndex>
    <d2p1:PageSize>2</d2p1:PageSize>
    <d2p1:TotalPages>4</d2p1:TotalPages>
    <d2p1:total>3</d2p1:total>
    <d2p1:Value>
      <MatchedReTestDto>
        <Rank>5</Rank>
        <ReTestId>34507c0d-7ac2-4fc6-828f-988c88546b53</ReTestId>
        <ReTestRepositoryId>3</ReTestRepositoryId>
        <RepositoryName>sample string 4</RepositoryName>
        <Stem>sample string 2</Stem>
      </MatchedReTestDto>
      <MatchedReTestDto>
        <Rank>5</Rank>
        <ReTestId>34507c0d-7ac2-4fc6-828f-988c88546b53</ReTestId>
        <ReTestRepositoryId>3</ReTestRepositoryId>
        <RepositoryName>sample string 4</RepositoryName>
        <Stem>sample string 2</Stem>
      </MatchedReTestDto>
    </d2p1:Value>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfPageResultOfMatchedReTestDtov3CTEUQJS_STz13wm>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"ReTestId":"34507c0d-7ac2-4fc6-828f-988c88546b53","Stem":"sample string 2","ReTestRepositoryId":3,"RepositoryName":"sample string 4","Rank":5},{"ReTestId":"34507c0d-7ac2-4fc6-828f-988c88546b53","Stem":"sample string 2","ReTestRepositoryId":3,"RepositoryName":"sample string 4","Rank":5}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});