POST api/product/item/{plu}/hierarchy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
plu | integer |
Required |
Body Parameters
ProductItemHierarchyName | Description | Type | Additional information |
---|---|---|---|
StoreID | integer |
None. |
|
PLU | integer |
None. |
|
Guid | globally unique identifier |
None. |
|
GSTPercent | integer |
None. |
|
DepartmentCode | string |
String length: inclusive between 0 and 20 |
|
SubDepartmentCode | string |
String length: inclusive between 0 and 20 |
|
MinorDepartmentCode | string |
String length: inclusive between 0 and 20 |
|
LesserDepartmentCode | string |
String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{ "storeID": 1, "plu": 1, "guid": "771a7b76-fc56-40b8-88f6-1fbe8a32b96b", "gstPercent": 1, "departmentCode": "sample string 2", "subDepartmentCode": "sample string 3", "minorDepartmentCode": "sample string 4", "lesserDepartmentCode": "sample string 5" }
application/xml, text/xml
Sample:
<ProductItemHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <DepartmentCode>sample string 2</DepartmentCode> <GSTPercent>1</GSTPercent> <Guid>771a7b76-fc56-40b8-88f6-1fbe8a32b96b</Guid> <LesserDepartmentCode>sample string 5</LesserDepartmentCode> <MinorDepartmentCode>sample string 4</MinorDepartmentCode> <PLU>1</PLU> <StoreID>1</StoreID> <SubDepartmentCode>sample string 3</SubDepartmentCode> </ProductItemHierarchy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.