POST api/AddFarmer

Request Information

URI Parameters

None.

Body Parameters

ADDFARMER
NameDescriptionTypeAdditional information
FARMER_NAME

string

None.

EMP_ID

string

None.

MOBILENO

string

None.

STATE

string

None.

DISTRICT

string

None.

TALUKA

string

None.

VILLAGE

string

None.

TOALACREAGE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FARMER_NAME": "sample string 1",
  "EMP_ID": "sample string 2",
  "MOBILENO": "sample string 3",
  "STATE": "sample string 4",
  "DISTRICT": "sample string 5",
  "TALUKA": "sample string 6",
  "VILLAGE": "sample string 7",
  "TOALACREAGE": "sample string 8"
}

application/xml, text/xml

Sample:
<ADDFARMER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSwaroopAgromart.Controllers.Team">
  <DISTRICT>sample string 5</DISTRICT>
  <EMP_ID>sample string 2</EMP_ID>
  <FARMER_NAME>sample string 1</FARMER_NAME>
  <MOBILENO>sample string 3</MOBILENO>
  <STATE>sample string 4</STATE>
  <TALUKA>sample string 6</TALUKA>
  <TOALACREAGE>sample string 8</TOALACREAGE>
  <VILLAGE>sample string 7</VILLAGE>
</ADDFARMER>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.