POST api/INV_BidPrice/UpdateBidPrices

Request Information

URI Parameters

None.

Body Parameters

INV_BidPriceModel_Update
NameDescriptionTypeAdditional information
DistrictUnitCode

string

None.

Content

Collection of InvBidprice

None.

Request Formats

application/json, text/json

Sample:
{
  "DistrictUnitCode": "sample string 1",
  "Content": [
    {
      "Id": 1,
      "Itemid": 1,
      "Vendorid": 1,
      "Begindt": "2026-04-29T01:42:28.0975565-04:00",
      "Enddt": "2026-04-29T01:42:28.0975565-04:00",
      "Primaryprice": 1.0,
      "Currentbrand": "sample string 2",
      "Vendoritem": "sample string 3",
      "Upc": "sample string 4",
      "Unit": "sample string 5",
      "Qtyperunit": 1,
      "Secondaryunit": "sample string 6",
      "Servingsperunit": 1,
      "Secondaryunitweight": 1.0,
      "Secondaryunitmeasure": "sample string 7",
      "Handlingfee": 1.0,
      "Contractitem": "sample string 8",
      "Secondaryunitweightgrams": 1.0
    },
    {
      "Id": 1,
      "Itemid": 1,
      "Vendorid": 1,
      "Begindt": "2026-04-29T01:42:28.0975565-04:00",
      "Enddt": "2026-04-29T01:42:28.0975565-04:00",
      "Primaryprice": 1.0,
      "Currentbrand": "sample string 2",
      "Vendoritem": "sample string 3",
      "Upc": "sample string 4",
      "Unit": "sample string 5",
      "Qtyperunit": 1,
      "Secondaryunit": "sample string 6",
      "Servingsperunit": 1,
      "Secondaryunitweight": 1.0,
      "Secondaryunitmeasure": "sample string 7",
      "Handlingfee": 1.0,
      "Contractitem": "sample string 8",
      "Secondaryunitweightgrams": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<INV_BidPriceModel_Update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MP.WebAPI">
  <Content xmlns:d2p1="http://schemas.datacontract.org/2004/07/MP.BaseObject.Nh">
    <d2p1:InvBidprice>
      <d2p1:Begindt>2026-04-29T01:42:28.0975565-04:00</d2p1:Begindt>
      <d2p1:Contractitem>sample string 8</d2p1:Contractitem>
      <d2p1:Currentbrand>sample string 2</d2p1:Currentbrand>
      <d2p1:Enddt>2026-04-29T01:42:28.0975565-04:00</d2p1:Enddt>
      <d2p1:Handlingfee>1</d2p1:Handlingfee>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Itemid>1</d2p1:Itemid>
      <d2p1:Primaryprice>1</d2p1:Primaryprice>
      <d2p1:Qtyperunit>1</d2p1:Qtyperunit>
      <d2p1:Secondaryunit>sample string 6</d2p1:Secondaryunit>
      <d2p1:Secondaryunitmeasure>sample string 7</d2p1:Secondaryunitmeasure>
      <d2p1:Secondaryunitweight>1</d2p1:Secondaryunitweight>
      <d2p1:Secondaryunitweightgrams>1</d2p1:Secondaryunitweightgrams>
      <d2p1:Servingsperunit>1</d2p1:Servingsperunit>
      <d2p1:Unit>sample string 5</d2p1:Unit>
      <d2p1:Upc>sample string 4</d2p1:Upc>
      <d2p1:Vendorid>1</d2p1:Vendorid>
      <d2p1:Vendoritem>sample string 3</d2p1:Vendoritem>
    </d2p1:InvBidprice>
    <d2p1:InvBidprice>
      <d2p1:Begindt>2026-04-29T01:42:28.0975565-04:00</d2p1:Begindt>
      <d2p1:Contractitem>sample string 8</d2p1:Contractitem>
      <d2p1:Currentbrand>sample string 2</d2p1:Currentbrand>
      <d2p1:Enddt>2026-04-29T01:42:28.0975565-04:00</d2p1:Enddt>
      <d2p1:Handlingfee>1</d2p1:Handlingfee>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Itemid>1</d2p1:Itemid>
      <d2p1:Primaryprice>1</d2p1:Primaryprice>
      <d2p1:Qtyperunit>1</d2p1:Qtyperunit>
      <d2p1:Secondaryunit>sample string 6</d2p1:Secondaryunit>
      <d2p1:Secondaryunitmeasure>sample string 7</d2p1:Secondaryunitmeasure>
      <d2p1:Secondaryunitweight>1</d2p1:Secondaryunitweight>
      <d2p1:Secondaryunitweightgrams>1</d2p1:Secondaryunitweightgrams>
      <d2p1:Servingsperunit>1</d2p1:Servingsperunit>
      <d2p1:Unit>sample string 5</d2p1:Unit>
      <d2p1:Upc>sample string 4</d2p1:Upc>
      <d2p1:Vendorid>1</d2p1:Vendorid>
      <d2p1:Vendoritem>sample string 3</d2p1:Vendoritem>
    </d2p1:InvBidprice>
  </Content>
  <DistrictUnitCode>sample string 1</DistrictUnitCode>
</INV_BidPriceModel_Update>

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.