POST api/tunel

Request Information

URI Parameters

None.

Body Parameters

Tunel
NameDescriptionTypeAdditional information
TunelId

integer

None.

Name

string

None.

GreenHouseId

integer

None.

GreenHouse

GreenHouse

None.

Request Formats

application/json, text/json

Sample:
{
  "TunelId": 1,
  "Name": "sample string 2",
  "GreenHouseId": 3,
  "GreenHouse": {
    "GreenHouseId": 1,
    "Name": "sample string 2",
    "ProjectId": 3,
    "Project": {
      "ProjectId": 1,
      "Name": "sample string 2",
      "Location": "sample string 3",
      "Status": "sample string 4",
      "Manager": "sample string 5"
    }
  }
}

application/xml, text/xml

Sample:
<Tunel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MesaGrande.Common.Models">
  <GreenHouse>
    <GreenHouseId>1</GreenHouseId>
    <Name>sample string 2</Name>
    <Project>
      <Location>sample string 3</Location>
      <Manager>sample string 5</Manager>
      <Name>sample string 2</Name>
      <ProjectId>1</ProjectId>
      <Status>sample string 4</Status>
    </Project>
    <ProjectId>3</ProjectId>
  </GreenHouse>
  <GreenHouseId>3</GreenHouseId>
  <Name>sample string 2</Name>
  <TunelId>1</TunelId>
</Tunel>

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.