POST api/CheckReTestRepository/SaveCheckReTestRepository

保存题库审核任务

Request Information

URI Parameters

None.

Body Parameters

CheckReTestRepositoryInputDto
NameDescriptionTypeAdditional information
Id

任务编号

integer

None.

ProfessionalId

课程编号

integer

None.

ReTestRepositoryIds

题库编号

Collection of integer

None.

ReTestRepositoryNames

题库名称

string

None.

TaskName

任务名称

string

None.

TaskDescription

任务要求

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProfessionalId": 2,
  "ReTestRepositoryIds": [
    1,
    2
  ],
  "ReTestRepositoryNames": "sample string 3",
  "TaskName": "sample string 4",
  "TaskDescription": "sample string 5"
}

text/html

Sample:
{"Id":1,"ProfessionalId":2,"ReTestRepositoryIds":[1,2],"ReTestRepositoryNames":"sample string 3","TaskName":"sample string 4","TaskDescription":"sample string 5"}

application/xml, text/xml

Sample:
<CheckReTestRepositoryInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Id>1</Id>
  <ProfessionalId>2</ProfessionalId>
  <ReTestRepositoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ReTestRepositoryIds>
  <ReTestRepositoryNames>sample string 3</ReTestRepositoryNames>
  <TaskDescription>sample string 5</TaskDescription>
  <TaskName>sample string 4</TaskName>
</CheckReTestRepositoryInputDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存题库审核任务

JsonRtnDtoOfCheckReTestRepository
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

CheckReTestRepository

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "ProfessionalId": 2,
    "ReTestRepositoryIds": "sample string 3",
    "TaskName": "sample string 4",
    "TaskDescription": "sample string 5",
    "CreatedUserId": 6,
    "CreatedUserName": "sample string 7",
    "CreatedTime": "2024-09-25T00:08:16.7187231+08:00",
    "IsPublish": true,
    "ReTestRepositoryNames": "sample string 10"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"ProfessionalId":2,"ReTestRepositoryIds":"sample string 3","TaskName":"sample string 4","TaskDescription":"sample string 5","CreatedUserId":6,"CreatedUserName":"sample string 7","CreatedTime":"2024-09-25T00:08:16.7187231+08:00","IsPublish":true,"ReTestRepositoryNames":"sample string 10"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfCheckReTestRepositorymEDjlcEG 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.Data">
    <d2p1:CreatedTime>2024-09-25T00:08:16.7187231+08:00</d2p1:CreatedTime>
    <d2p1:CreatedUserId>6</d2p1:CreatedUserId>
    <d2p1:CreatedUserName>sample string 7</d2p1:CreatedUserName>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsPublish>true</d2p1:IsPublish>
    <d2p1:ProfessionalId>2</d2p1:ProfessionalId>
    <d2p1:ReTestRepositoryIds>sample string 3</d2p1:ReTestRepositoryIds>
    <d2p1:ReTestRepositoryNames>sample string 10</d2p1:ReTestRepositoryNames>
    <d2p1:TaskDescription>sample string 5</d2p1:TaskDescription>
    <d2p1:TaskName>sample string 4</d2p1:TaskName>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfCheckReTestRepositorymEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"ProfessionalId":2,"ReTestRepositoryIds":"sample string 3","TaskName":"sample string 4","TaskDescription":"sample string 5","CreatedUserId":6,"CreatedUserName":"sample string 7","CreatedTime":"2024-09-25T00:08:16.7187231+08:00","IsPublish":true,"ReTestRepositoryNames":"sample string 10"}});