PUT api/greenhouse/update
Request Information
URI Parameters
None.
Body Parameters
GreenHouseName | Description | Type | Additional information |
---|---|---|---|
GreenHouseId | integer |
None. |
|
Name | string |
None. |
|
ProjectId | integer |
None. |
|
Project | Project |
None. |
Request Formats
application/json, text/json
Sample:
{ "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:
<GreenHouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MesaGrande.Common.Models"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.