POST api/QCTask/Add

Request Information

URI Parameters

None.

Body Parameters

QCTaskRequest
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

StartTime

date

None.

EndTime

date

None.

WorkIDS

Collection of integer

None.

WorkNames

Collection of string

None.

ReagentCount

integer

None.

NameList

Collection of string

None.

Level

Collection of Level

None.

ProjectID

integer

None.

ProjectName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "StartTime": "2025-12-15T07:55:30.4483335+08:00",
  "EndTime": "2025-12-15T07:55:30.4483335+08:00",
  "WorkIDS": [
    1,
    2
  ],
  "WorkNames": [
    "sample string 1",
    "sample string 2"
  ],
  "ReagentCount": 5,
  "NameList": [
    "sample string 1",
    "sample string 2"
  ],
  "Level": [
    0,
    0
  ],
  "ProjectID": 6,
  "ProjectName": "sample string 7"
}

application/xml, text/xml

Sample:
<QCTaskRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HIV.ContractModel">
  <EndTime>2025-12-15T07:55:30.4483335+08:00</EndTime>
  <ID>1</ID>
  <Level xmlns:d2p1="http://schemas.datacontract.org/2004/07/Hiv.Enum">
    <d2p1:Level>ADMIN</d2p1:Level>
    <d2p1:Level>ADMIN</d2p1:Level>
  </Level>
  <Name>sample string 2</Name>
  <NameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </NameList>
  <ProjectID>6</ProjectID>
  <ProjectName>sample string 7</ProjectName>
  <ReagentCount>5</ReagentCount>
  <StartTime>2025-12-15T07:55:30.4483335+08:00</StartTime>
  <WorkIDS xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </WorkIDS>
  <WorkNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WorkNames>
</QCTaskRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.