POST api/POS/SetPOSItem?DocNum={DocNum}&Program={Program}&User={User}&StoreNbr={StoreNbr}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DocNum | integer |
Required |
|
| Program | string |
Required |
|
| User | integer |
Required |
|
| StoreNbr | integer |
Required |
Body Parameters
POSItem| Name | Description | Type | Additional information |
|---|---|---|---|
| UPC | integer |
None. |
|
| Dept | integer |
None. |
|
| DealQty | integer |
None. |
|
| Price | decimal number |
None. |
|
| LinkCode | integer |
None. |
|
| Desc | string |
None. |
|
| Value | decimal number |
None. |
|
| Date | string |
None. |
|
| TaxPlanA | string |
None. |
|
| FoodStamps | string |
None. |
|
| Response | string |
None. |
|
| DocNumLong | integer |
None. |
|
| DocNum | integer |
None. |
|
| User | integer |
None. |
|
| Units | integer |
None. |
|
| ValidUser | boolean |
None. |
|
| Itemmaint | boolean |
None. |
|
| PricingMethod | integer |
None. |
|
| AliasCode | integer |
None. |
|
| RanWgt | boolean |
None. |
|
| ParentPricingMethod | integer |
None. |
|
| DealPrice | decimal number |
None. |
|
| MultiPriceGroup | integer |
None. |
|
| QtyRequired | boolean |
None. |
|
| ItemNum | integer |
None. |
|
| ItemType | integer |
None. |
|
| isRandomWeight | boolean |
None. |
|
| Wic | boolean |
None. |
|
| UseModel | boolean |
None. |
|
| NewItem | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UPC": 1,
"Dept": 2,
"DealQty": 3,
"Price": 4.1,
"LinkCode": 5,
"Desc": "sample string 6",
"Value": 7.1,
"Date": "sample string 8",
"TaxPlanA": "sample string 9",
"FoodStamps": "sample string 10",
"Response": "sample string 11",
"DocNumLong": 12,
"DocNum": 13,
"User": 14,
"Units": 15,
"ValidUser": true,
"Itemmaint": true,
"PricingMethod": 18,
"AliasCode": 19,
"RanWgt": true,
"ParentPricingMethod": 21,
"DealPrice": 22.1,
"MultiPriceGroup": 23,
"QtyRequired": true,
"ItemNum": 25,
"ItemType": 26,
"isRandomWeight": true,
"Wic": true,
"UseModel": true,
"NewItem": true
}
application/xml, text/xml
Sample:
<POSItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBIC_WebApi.Models"> <AliasCode>19</AliasCode> <Date>sample string 8</Date> <DealPrice>22.1</DealPrice> <DealQty>3</DealQty> <Dept>2</Dept> <Desc>sample string 6</Desc> <DocNum>13</DocNum> <DocNumLong>12</DocNumLong> <FoodStamps>sample string 10</FoodStamps> <ItemNum>25</ItemNum> <ItemType>26</ItemType> <Itemmaint>true</Itemmaint> <LinkCode>5</LinkCode> <MultiPriceGroup>23</MultiPriceGroup> <NewItem>true</NewItem> <ParentPricingMethod>21</ParentPricingMethod> <Price>4.1</Price> <PricingMethod>18</PricingMethod> <QtyRequired>true</QtyRequired> <RanWgt>true</RanWgt> <Response>sample string 11</Response> <TaxPlanA>sample string 9</TaxPlanA> <UPC>1</UPC> <Units>15</Units> <UseModel>true</UseModel> <User>14</User> <ValidUser>true</ValidUser> <Value>7.1</Value> <Wic>true</Wic> <isRandomWeight>true</isRandomWeight> </POSItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.