POST api/FarmerPlotVisit

Request Information

URI Parameters

None.

Body Parameters

FarmerPlotVisit
NameDescriptionTypeAdditional information
FPV_ID

string

None.

PLOT_ID

string

None.

SALESTEAM_ID

string

None.

PRODUCT_ID

string

None.

LATITUDE

string

None.

LONGITUDE

string

None.

VISIT_PHOTO

Collection of byte

None.

REMARK

string

None.

TASK

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

LANG_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FPV_ID": "sample string 1",
  "PLOT_ID": "sample string 2",
  "SALESTEAM_ID": "sample string 3",
  "PRODUCT_ID": "sample string 4",
  "LATITUDE": "sample string 5",
  "LONGITUDE": "sample string 6",
  "VISIT_PHOTO": "QEA=",
  "REMARK": "sample string 7",
  "TASK": "sample string 8",
  "EXTRA1": "sample string 9",
  "EXTRA2": "sample string 10",
  "EXTRA3": "sample string 11",
  "LANG_ID": "sample string 12"
}

text/plain

Sample:
{"FPV_ID":"sample string 1","PLOT_ID":"sample string 2","SALESTEAM_ID":"sample string 3","PRODUCT_ID":"sample string 4","LATITUDE":"sample string 5","LONGITUDE":"sample string 6","VISIT_PHOTO":"QEA=","REMARK":"sample string 7","TASK":"sample string 8","EXTRA1":"sample string 9","EXTRA2":"sample string 10","EXTRA3":"sample string 11","LANG_ID":"sample string 12"}

application/xml, text/xml

Sample:
<FarmerPlotVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSangamAgro.Models">
  <EXTRA1>sample string 9</EXTRA1>
  <EXTRA2>sample string 10</EXTRA2>
  <EXTRA3>sample string 11</EXTRA3>
  <FPV_ID>sample string 1</FPV_ID>
  <LANG_ID>sample string 12</LANG_ID>
  <LATITUDE>sample string 5</LATITUDE>
  <LONGITUDE>sample string 6</LONGITUDE>
  <PLOT_ID>sample string 2</PLOT_ID>
  <PRODUCT_ID>sample string 4</PRODUCT_ID>
  <REMARK>sample string 7</REMARK>
  <SALESTEAM_ID>sample string 3</SALESTEAM_ID>
  <TASK>sample string 8</TASK>
  <VISIT_PHOTO>QEA=</VISIT_PHOTO>
</FarmerPlotVisit>

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.