POST api/CreateItem
Request Information
URI Parameters
None.
Body Parameters
CreateItemRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemNumber | string |
None. |
|
| Description | string |
None. |
|
| BaseItemCatID | integer |
None. |
|
| CategoryId | integer |
None. |
|
| POSCenterID | integer |
None. |
|
| Price | decimal number |
None. |
|
| Large | decimal number |
None. |
|
| PickMe_Regular | decimal number |
None. |
|
| PickMe_Large | decimal number |
None. |
|
| Uber_Regular | decimal number |
None. |
|
| Uber_Large | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemNumber": "sample string 1",
"Description": "sample string 2",
"BaseItemCatID": 3,
"CategoryId": 4,
"POSCenterID": 5,
"Price": 6.0,
"Large": 7.0,
"PickMe_Regular": 8.0,
"PickMe_Large": 9.0,
"Uber_Regular": 10.0,
"Uber_Large": 11.0
}
application/xml, text/xml
Sample:
<CreateItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CitrusPOS_WebAPI2.Controllers"> <BaseItemCatID>3</BaseItemCatID> <CategoryId>4</CategoryId> <Description>sample string 2</Description> <ItemNumber>sample string 1</ItemNumber> <Large>7</Large> <POSCenterID>5</POSCenterID> <PickMe_Large>9</PickMe_Large> <PickMe_Regular>8</PickMe_Regular> <Price>6</Price> <Uber_Large>11</Uber_Large> <Uber_Regular>10</Uber_Regular> </CreateItemRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.