POST api/Project/Add

Request Information

URI Parameters

None.

Body Parameters

ProjectRequest
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

TechniqueList

Collection of Technique

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "TechniqueList": [
    0,
    0
  ]
}

application/xml, text/xml

Sample:
<ProjectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HIV.ContractModel">
  <ID>1</ID>
  <Name>sample string 2</Name>
  <TechniqueList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Hiv.Enum">
    <d2p1:Technique>NULL</d2p1:Technique>
    <d2p1:Technique>NULL</d2p1:Technique>
  </TechniqueList>
</ProjectRequest>

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.