POST api/PlotList
Request Information
URI Parameters
None.
Body Parameters
PlotRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| PLOT_ID | string |
None. |
|
| CR_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. |
|
| LAST_YEAR_YEILD | string |
None. |
|
| IRRIGATION_SOURCE | string |
None. |
|
| CROP_DISTANCE | string |
None. |
|
| CROPSTAGE_ID | string |
None. |
|
| PLOT_UDHESH | string |
None. |
|
| ADDRESS | string |
None. |
|
| FARMER_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",
"CR_ID": "sample string 2",
"VARIETY_ID": "sample string 3",
"CROP_ID": "sample string 4",
"PRUNING_DATE": "sample string 5",
"TOTAL_AREA": "sample string 6",
"LATITUDE": "sample string 7",
"SOIL_TYPE": "sample string 8",
"LONGITUDE": "sample string 9",
"LAST_YEAR_YEILD": "sample string 10",
"IRRIGATION_SOURCE": "sample string 11",
"CROP_DISTANCE": "sample string 12",
"CROPSTAGE_ID": "sample string 13",
"PLOT_UDHESH": "sample string 14",
"ADDRESS": "sample string 15",
"FARMER_ID": "sample string 16",
"PACKAGE_ID": "sample string 17",
"EXTRA": "sample string 18",
"TASK": "sample string 19",
"DISTRICT_ID": "sample string 20",
"TALUKA_ID": "sample string 21",
"PREVIOUS_YEARPROBLEM": "sample string 22"
}
application/xml, text/xml
Sample:
<PlotRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOnionFarming.Models"> <ADDRESS>sample string 15</ADDRESS> <CROPSTAGE_ID>sample string 13</CROPSTAGE_ID> <CROP_DISTANCE>sample string 12</CROP_DISTANCE> <CROP_ID>sample string 4</CROP_ID> <CR_ID>sample string 2</CR_ID> <DISTRICT_ID>sample string 20</DISTRICT_ID> <EXTRA>sample string 18</EXTRA> <FARMER_ID>sample string 16</FARMER_ID> <IRRIGATION_SOURCE>sample string 11</IRRIGATION_SOURCE> <LAST_YEAR_YEILD>sample string 10</LAST_YEAR_YEILD> <LATITUDE>sample string 7</LATITUDE> <LONGITUDE>sample string 9</LONGITUDE> <PACKAGE_ID>sample string 17</PACKAGE_ID> <PLOT_ID>sample string 1</PLOT_ID> <PLOT_UDHESH>sample string 14</PLOT_UDHESH> <PREVIOUS_YEARPROBLEM>sample string 22</PREVIOUS_YEARPROBLEM> <PRUNING_DATE>sample string 5</PRUNING_DATE> <SOIL_TYPE>sample string 8</SOIL_TYPE> <TALUKA_ID>sample string 21</TALUKA_ID> <TASK>sample string 19</TASK> <TOTAL_AREA>sample string 6</TOTAL_AREA> <VARIETY_ID>sample string 3</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. |