POST api/POS/UpdateThrwoaway?Number={Number}&StoreNbr={StoreNbr}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Number

integer

Required

StoreNbr

integer

Required

Body Parameters

GOI_ThrowAway
NameDescriptionTypeAdditional information
ThrowAway_StoreNbr

integer

None.

ThrowAway_WeekEndDate

date

None.

ThrowAway_UPC

string

None.

ThrowAway_Number

integer

None.

ThrowAway_ReasonCode

string

None.

ThrowAway_POSDept

integer

None.

ThrowAway_GOIDept

string

None.

ThrowAway_Desc

string

None.

ThrowAway_DateTime

date

None.

ThrowAway_Units

integer

None.

ThrowAway_Retail

decimal number

None.

ThrowAway_Qty

integer

None.

ThrowAway_Sent

boolean

None.

ThrowAway_User

integer

None.

ThrowAway_DocNum

integer

None.

ThrowAway_SendDate

date

None.

ThrowAway_BatchSeq

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ThrowAway_StoreNbr": 1,
  "ThrowAway_WeekEndDate": "2026-05-22T12:06:18.435395-07:00",
  "ThrowAway_UPC": "sample string 3",
  "ThrowAway_Number": 4,
  "ThrowAway_ReasonCode": "sample string 5",
  "ThrowAway_POSDept": 6,
  "ThrowAway_GOIDept": "sample string 7",
  "ThrowAway_Desc": "sample string 8",
  "ThrowAway_DateTime": "2026-05-22T12:06:18.435395-07:00",
  "ThrowAway_Units": 10,
  "ThrowAway_Retail": 11.0,
  "ThrowAway_Qty": 12,
  "ThrowAway_Sent": true,
  "ThrowAway_User": 1,
  "ThrowAway_DocNum": 1,
  "ThrowAway_SendDate": "2026-05-22T12:06:18.435395-07:00",
  "ThrowAway_BatchSeq": 13
}

application/xml, text/xml

Sample:
<GOI_ThrowAway xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBIC_Entities">
  <ThrowAway_BatchSeq>13</ThrowAway_BatchSeq>
  <ThrowAway_DateTime>2026-05-22T12:06:18.435395-07:00</ThrowAway_DateTime>
  <ThrowAway_Desc>sample string 8</ThrowAway_Desc>
  <ThrowAway_DocNum>1</ThrowAway_DocNum>
  <ThrowAway_GOIDept>sample string 7</ThrowAway_GOIDept>
  <ThrowAway_Number>4</ThrowAway_Number>
  <ThrowAway_POSDept>6</ThrowAway_POSDept>
  <ThrowAway_Qty>12</ThrowAway_Qty>
  <ThrowAway_ReasonCode>sample string 5</ThrowAway_ReasonCode>
  <ThrowAway_Retail>11</ThrowAway_Retail>
  <ThrowAway_SendDate>2026-05-22T12:06:18.435395-07:00</ThrowAway_SendDate>
  <ThrowAway_Sent>true</ThrowAway_Sent>
  <ThrowAway_StoreNbr>1</ThrowAway_StoreNbr>
  <ThrowAway_UPC>sample string 3</ThrowAway_UPC>
  <ThrowAway_Units>10</ThrowAway_Units>
  <ThrowAway_User>1</ThrowAway_User>
  <ThrowAway_WeekEndDate>2026-05-22T12:06:18.435395-07:00</ThrowAway_WeekEndDate>
</GOI_ThrowAway>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.