POST api/AED_Crop_Questions

Request Information

URI Parameters

None.

Body Parameters

AED_CROP_QUESTIONS
NameDescriptionTypeAdditional information
FARMER_ID

string

None.

CROP_ID

string

None.

LANG_ID

string

None.

QUESTION

string

None.

QUESTION_PHOTO

Collection of byte

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FARMER_ID": "sample string 1",
  "CROP_ID": "sample string 2",
  "LANG_ID": "sample string 3",
  "QUESTION": "sample string 4",
  "QUESTION_PHOTO": "QEA=",
  "EXTRA1": "sample string 5",
  "EXTRA2": "sample string 6",
  "EXTRA3": "sample string 7"
}

application/xml, text/xml

Sample:
<AED_CROP_QUESTIONS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agroverse.Models">
  <CROP_ID>sample string 2</CROP_ID>
  <EXTRA1>sample string 5</EXTRA1>
  <EXTRA2>sample string 6</EXTRA2>
  <EXTRA3>sample string 7</EXTRA3>
  <FARMER_ID>sample string 1</FARMER_ID>
  <LANG_ID>sample string 3</LANG_ID>
  <QUESTION>sample string 4</QUESTION>
  <QUESTION_PHOTO>QEA=</QUESTION_PHOTO>
</AED_CROP_QUESTIONS>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AED_CROP_QUESTIONS'.

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.