POST api/retestrepository/copytoasync

将习题复制到指定题库

Request Information

URI Parameters

None.

Body Parameters

RepositoryMoveReqDto
NameDescriptionTypeAdditional information
RtrId

原试题集合

integer

None.

TargetId

目录试题集合

integer

None.

lretestId

要移动的试题集合

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "RtrId": 1,
  "TargetId": 2,
  "lretestId": [
    "90cd92f4-2d49-40e8-b694-dbf7aaff1b87",
    "a6762d60-d282-4822-b05e-dc1550b3ed38"
  ]
}

text/html

Sample:
{"RtrId":1,"TargetId":2,"lretestId":["90cd92f4-2d49-40e8-b694-dbf7aaff1b87","a6762d60-d282-4822-b05e-dc1550b3ed38"]}

application/xml, text/xml

Sample:
<RepositoryMoveReqDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <RtrId>1</RtrId>
  <TargetId>2</TargetId>
  <lretestId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>90cd92f4-2d49-40e8-b694-dbf7aaff1b87</d2p1:guid>
    <d2p1:guid>a6762d60-d282-4822-b05e-dc1550b3ed38</d2p1:guid>
  </lretestId>
</RepositoryMoveReqDto>

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