POST api/PlotList/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PlotRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| PLOT_ID | string |
None. |
|
| VARIETY_ID | string |
None. |
|
| CROP_ID | string |
None. |
|
| PRUNING_DATE | string |
None. |
|
| TOTAL_AREA | string |
None. |
|
| LATITUDE | string |
None. |
|
| SOIL_TYPE | string |
None. |
|
| LONGITUDE | string |
None. |
|
| IRRIGATION_SOURCE | string |
None. |
|
| CROP_DISTANCE | string |
None. |
|
| CROPSTAGE_ID | string |
None. |
|
| PLOT_UDHESH | string |
None. |
|
| ADDRESS | string |
None. |
|
| USER_ID | string |
None. |
|
| PACKAGE_ID | string |
None. |
|
| EXTRA | string |
None. |
|
| TASK | string |
None. |
|
| DISTRICT_ID | string |
None. |
|
| TALUKA_ID | string |
None. |
|
| PREVIOUS_YEARPROBLEM | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PLOT_ID": "sample string 1",
"VARIETY_ID": "sample string 2",
"CROP_ID": "sample string 3",
"PRUNING_DATE": "sample string 4",
"TOTAL_AREA": "sample string 5",
"LATITUDE": "sample string 6",
"SOIL_TYPE": "sample string 7",
"LONGITUDE": "sample string 8",
"IRRIGATION_SOURCE": "sample string 9",
"CROP_DISTANCE": "sample string 10",
"CROPSTAGE_ID": "sample string 11",
"PLOT_UDHESH": "sample string 12",
"ADDRESS": "sample string 13",
"USER_ID": "sample string 14",
"PACKAGE_ID": "sample string 15",
"EXTRA": "sample string 16",
"TASK": "sample string 17",
"DISTRICT_ID": "sample string 18",
"TALUKA_ID": "sample string 19",
"PREVIOUS_YEARPROBLEM": "sample string 20"
}
application/xml, text/xml
Sample:
<PlotRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiCropguru.Models"> <ADDRESS>sample string 13</ADDRESS> <CROPSTAGE_ID>sample string 11</CROPSTAGE_ID> <CROP_DISTANCE>sample string 10</CROP_DISTANCE> <CROP_ID>sample string 3</CROP_ID> <DISTRICT_ID>sample string 18</DISTRICT_ID> <EXTRA>sample string 16</EXTRA> <IRRIGATION_SOURCE>sample string 9</IRRIGATION_SOURCE> <LATITUDE>sample string 6</LATITUDE> <LONGITUDE>sample string 8</LONGITUDE> <PACKAGE_ID>sample string 15</PACKAGE_ID> <PLOT_ID>sample string 1</PLOT_ID> <PLOT_UDHESH>sample string 12</PLOT_UDHESH> <PREVIOUS_YEARPROBLEM>sample string 20</PREVIOUS_YEARPROBLEM> <PRUNING_DATE>sample string 4</PRUNING_DATE> <SOIL_TYPE>sample string 7</SOIL_TYPE> <TALUKA_ID>sample string 19</TALUKA_ID> <TASK>sample string 17</TASK> <TOTAL_AREA>sample string 5</TOTAL_AREA> <USER_ID>sample string 14</USER_ID> <VARIETY_ID>sample string 2</VARIETY_ID> </PlotRegistration>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |