POST api/AdminMaster/POS_BulkInsertion

Request Information

URI Parameters

None.

Body Parameters

POS_BulkInsert1
NameDescriptionTypeAdditional information
condition

string

None.

farmid

string

None.

loginid

string

None.

POS_prices

Collection of POS_prices

None.

Request Formats

application/json, text/json

Sample:
{
  "condition": "sample string 1",
  "farmid": "sample string 2",
  "loginid": "sample string 3",
  "POS_prices": [
    {
      "Productid": "sample string 1",
      "Price": "sample string 2",
      "Disc": "sample string 3",
      "Units": "sample string 4",
      "DiscountPer": "sample string 5",
      "FlatdiscountPer": "sample string 6"
    },
    {
      "Productid": "sample string 1",
      "Price": "sample string 2",
      "Disc": "sample string 3",
      "Units": "sample string 4",
      "DiscountPer": "sample string 5",
      "FlatdiscountPer": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<POS_BulkInsert1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.CropMaster">
  <POS_prices>
    <POS_prices>
      <Disc>sample string 3</Disc>
      <DiscountPer>sample string 5</DiscountPer>
      <FlatdiscountPer>sample string 6</FlatdiscountPer>
      <Price>sample string 2</Price>
      <Productid>sample string 1</Productid>
      <Units>sample string 4</Units>
    </POS_prices>
    <POS_prices>
      <Disc>sample string 3</Disc>
      <DiscountPer>sample string 5</DiscountPer>
      <FlatdiscountPer>sample string 6</FlatdiscountPer>
      <Price>sample string 2</Price>
      <Productid>sample string 1</Productid>
      <Units>sample string 4</Units>
    </POS_prices>
  </POS_prices>
  <condition>sample string 1</condition>
  <farmid>sample string 2</farmid>
  <loginid>sample string 3</loginid>
</POS_BulkInsert1>

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

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.