POST api/product/plu/{plu}/stockunitmeasure/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| plu | integer |
Required |
|
| code | string |
Required |
Body Parameters
StockUnitMeasure| Name | Description | Type | Additional information |
|---|---|---|---|
| PluG_UID | Collection of byte |
None. |
|
| PLU | integer |
None. |
|
| StoreID | integer |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| Code | string |
String length: inclusive between 0 and 20 |
|
| Description | string |
String length: inclusive between 0 and 20 |
|
| NonCountSize | integer |
None. |
|
| SortOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pluG_UID": "KW70VPdI3k2jhxMs/AHGzw==",
"plu": 1,
"storeID": 2,
"pluGuid": "54f46e29-48f7-4dde-a387-132cfc01c6cf",
"code": "sample string 4",
"description": "sample string 5",
"nonCountSize": 6,
"sortOrder": 7
}
application/xml, text/xml
Sample:
<StockUnitMeasure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <Code>sample string 4</Code> <Description>sample string 5</Description> <NonCountSize>6</NonCountSize> <PLU>1</PLU> <PluG_UID>KW70VPdI3k2jhxMs/AHGzw==</PluG_UID> <PluGuid>54f46e29-48f7-4dde-a387-132cfc01c6cf</PluGuid> <SortOrder>7</SortOrder> <StoreID>2</StoreID> </StockUnitMeasure>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.