POST api/v1/Users/{uid}/plants

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uid

string

None.

Body Parameters

PlantRequest
NameDescriptionTypeAdditional information
uid

string

None.

unit

string

None.

name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "unit": "sample string 2",
  "name": "sample string 3"
}

application/xml, text/xml

Sample:
<PlantRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPI_JWT_Authentication.Models">
  <name>sample string 3</name>
  <uid>sample string 1</uid>
  <unit>sample string 2</unit>
</PlantRequest>

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.