POST api/Store/POS_BulkInsertion

Request Information

URI Parameters

None.

Body Parameters

StorePOS_BulkInsert1
NameDescriptionTypeAdditional information
condition

string

None.

farmid

string

None.

loginid

string

None.

POS_prices

Collection of StorePOS_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:
<StorePOS_BulkInsert1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Types.Store">
  <POS_prices>
    <StorePOS_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>
    </StorePOS_prices>
    <StorePOS_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>
    </StorePOS_prices>
  </POS_prices>
  <condition>sample string 1</condition>
  <farmid>sample string 2</farmid>
  <loginid>sample string 3</loginid>
</StorePOS_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 'StorePOS_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.