POST api/ShelfAudit/AddShelfAuditEntry

Request Information

URI Parameters

None.

Body Parameters

ShelfAuditEntry
NameDescriptionTypeAdditional information
StoreNbr

integer

None.

UPC

integer

None.

ItemNum

integer

None.

AuditName

string

None.

POSUnits

integer

None.

POSRetail

decimal number

None.

HostUnits

integer

None.

HostRetail

decimal number

None.

POSDept

integer

None.

MyProperty

integer

None.

HostDept

integer

None.

POSDesc

string

None.

ItemDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StoreNbr": 1,
  "UPC": 2,
  "ItemNum": 3,
  "AuditName": "sample string 4",
  "POSUnits": 5,
  "POSRetail": 6.0,
  "HostUnits": 7,
  "HostRetail": 8.0,
  "POSDept": 9,
  "MyProperty": 10,
  "HostDept": 11,
  "POSDesc": "sample string 12",
  "ItemDesc": "sample string 13"
}

application/xml, text/xml

Sample:
<ShelfAuditEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBIC_WebApi.Models">
  <AuditName>sample string 4</AuditName>
  <HostDept>11</HostDept>
  <HostRetail>8</HostRetail>
  <HostUnits>7</HostUnits>
  <ItemDesc>sample string 13</ItemDesc>
  <ItemNum>3</ItemNum>
  <MyProperty>10</MyProperty>
  <POSDept>9</POSDept>
  <POSDesc>sample string 12</POSDesc>
  <POSRetail>6</POSRetail>
  <POSUnits>5</POSUnits>
  <StoreNbr>1</StoreNbr>
  <UPC>2</UPC>
</ShelfAuditEntry>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.