POST api/Place_Farmer_Order

Request Information

URI Parameters

None.

Body Parameters

AED_PLACE_ORDER
NameDescriptionTypeAdditional information
FARMER_ID

string

None.

DELIVERY_ADDRESS

string

None.

TOTAL_QTY

string

None.

TOTAL_PRODUCTS

string

None.

TOTAL_AMOUNT

string

None.

TOTAL_DISCOUNT

string

None.

DELIVERY_CHARGES

string

None.

GRAND_TOTAL

string

None.

ORDER_COUPON_ID

string

None.

PAYMENT_METHOD

string

None.

LATITUDE

string

None.

LONGITUDE

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FARMER_ID": "sample string 1",
  "DELIVERY_ADDRESS": "sample string 2",
  "TOTAL_QTY": "sample string 3",
  "TOTAL_PRODUCTS": "sample string 4",
  "TOTAL_AMOUNT": "sample string 5",
  "TOTAL_DISCOUNT": "sample string 6",
  "DELIVERY_CHARGES": "sample string 7",
  "GRAND_TOTAL": "sample string 8",
  "ORDER_COUPON_ID": "sample string 9",
  "PAYMENT_METHOD": "sample string 10",
  "LATITUDE": "sample string 11",
  "LONGITUDE": "sample string 12",
  "EXTRA1": "sample string 13",
  "EXTRA2": "sample string 14",
  "EXTRA3": "sample string 15"
}

application/xml, text/xml

Sample:
<AED_PLACE_ORDER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agroverse.Models">
  <DELIVERY_ADDRESS>sample string 2</DELIVERY_ADDRESS>
  <DELIVERY_CHARGES>sample string 7</DELIVERY_CHARGES>
  <EXTRA1>sample string 13</EXTRA1>
  <EXTRA2>sample string 14</EXTRA2>
  <EXTRA3>sample string 15</EXTRA3>
  <FARMER_ID>sample string 1</FARMER_ID>
  <GRAND_TOTAL>sample string 8</GRAND_TOTAL>
  <LATITUDE>sample string 11</LATITUDE>
  <LONGITUDE>sample string 12</LONGITUDE>
  <ORDER_COUPON_ID>sample string 9</ORDER_COUPON_ID>
  <PAYMENT_METHOD>sample string 10</PAYMENT_METHOD>
  <TOTAL_AMOUNT>sample string 5</TOTAL_AMOUNT>
  <TOTAL_DISCOUNT>sample string 6</TOTAL_DISCOUNT>
  <TOTAL_PRODUCTS>sample string 4</TOTAL_PRODUCTS>
  <TOTAL_QTY>sample string 3</TOTAL_QTY>
</AED_PLACE_ORDER>

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_PLACE_ORDER'.

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.