POST api/PlotVisit

Request Information

URI Parameters

None.

Body Parameters

FarmDiscussionAnswer
NameDescriptionTypeAdditional information
USER_ID

string

None.

PLOT_ID

string

None.

QUESTION_ID

string

None.

AGRONOMIST_ID

string

None.

QUESTION

string

None.

QUESTION_ANSWER

string

None.

QUESTION_CAT

string

None.

LOCATION

string

None.

LATITUDE

string

None.

LONGITUDE

string

None.

ANS_IMAGE

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "USER_ID": "sample string 1",
  "PLOT_ID": "sample string 2",
  "QUESTION_ID": "sample string 3",
  "AGRONOMIST_ID": "sample string 4",
  "QUESTION": "sample string 5",
  "QUESTION_ANSWER": "sample string 6",
  "QUESTION_CAT": "sample string 7",
  "LOCATION": "sample string 8",
  "LATITUDE": "sample string 9",
  "LONGITUDE": "sample string 10",
  "ANS_IMAGE": "QEA="
}

application/xml, text/xml

Sample:
<FarmDiscussionAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiCropguru.Models">
  <AGRONOMIST_ID>sample string 4</AGRONOMIST_ID>
  <ANS_IMAGE>QEA=</ANS_IMAGE>
  <LATITUDE>sample string 9</LATITUDE>
  <LOCATION>sample string 8</LOCATION>
  <LONGITUDE>sample string 10</LONGITUDE>
  <PLOT_ID>sample string 2</PLOT_ID>
  <QUESTION>sample string 5</QUESTION>
  <QUESTION_ANSWER>sample string 6</QUESTION_ANSWER>
  <QUESTION_CAT>sample string 7</QUESTION_CAT>
  <QUESTION_ID>sample string 3</QUESTION_ID>
  <USER_ID>sample string 1</USER_ID>
</FarmDiscussionAnswer>

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.