POST api/department/{dept}/subdepartment/{id}/sizes
Get all store size configurations for department
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dept |
Department code |
string |
Required |
id |
SubDepartment code |
string |
Required |
Body Parameters
Department Store Size to save
DepartmentStoreSizeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
StoreSizeID | integer |
None. |
|
DepartmentCode | string |
Required |
|
SubDepartmentCode | string |
Required |
|
MaxDaysStock |
Maximum allowable days of stock |
integer |
None. |
StockOrderDaysMinimum |
Whether the Days Stock Order setting is a minimum or addition (0 = minimum) |
StockOrderDays |
None. |
SizeDescription |
Store Size being overridden |
string |
Relation. This field may not always be loaded or used for updates. |
DepartmentName |
Department Name |
string |
Relation. This field may not always be loaded or used for updates. |
SubDepartmentName |
SubDepartment Name |
string |
Relation. This field may not always be loaded or used for updates. |
DefaultMaxDaysStock |
Maximum allowable days of stock, store size override |
integer |
Relation. This field may not always be loaded or used for updates. |
DefaultStockOrderDaysMinimum |
Whether the Days Stock Order setting is a minimum or addition (0 = minimum), store size override |
StockOrderDays |
Relation. This field may not always be loaded or used for updates. |
Deals | Collection of DepartmentStoreSizeDeal |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
{ "id": 1, "storeSizeID": 1, "departmentCode": "sample string 2", "subDepartmentCode": "sample string 3", "maxDaysStock": 1, "stockOrderDaysMinimum": 1, "sizeDescription": "sample string 4", "departmentName": "sample string 5", "subDepartmentName": "sample string 6", "defaultMaxDaysStock": 7, "defaultStockOrderDaysMinimum": 8, "deals": [ { "$id": "2", "id": 1, "storeSizeID": 1, "storeSizeDealID": 2, "departmentCode": "sample string 3", "subDepartmentCode": "sample string 4", "daysStockOrder": 1, "sizeDescription": "sample string 5", "departmentName": "sample string 6", "subDepartmentName": "sample string 7", "minDealPercentage": 8.1, "maxDealPercentage": 1.1, "defaultDaysStockOrder": 9 }, { "$ref": "2" } ] }
application/xml, text/xml
<DepartmentStoreSize xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Departments"> <Deals> <DepartmentStoreSizeDeal> <DaysStockOrder>1</DaysStockOrder> <DefaultDaysStockOrder>9</DefaultDaysStockOrder> <DepartmentCode>sample string 3</DepartmentCode> <DepartmentName>sample string 6</DepartmentName> <ID>1</ID> <MaxDealPercentage>1.1</MaxDealPercentage> <MinDealPercentage>8.1</MinDealPercentage> <SizeDescription>sample string 5</SizeDescription> <StoreSizeDealID>2</StoreSizeDealID> <StoreSizeID>1</StoreSizeID> <SubDepartmentCode>sample string 4</SubDepartmentCode> <SubDepartmentName>sample string 7</SubDepartmentName> </DepartmentStoreSizeDeal> <DepartmentStoreSizeDeal> <DaysStockOrder>1</DaysStockOrder> <DefaultDaysStockOrder>9</DefaultDaysStockOrder> <DepartmentCode>sample string 3</DepartmentCode> <DepartmentName>sample string 6</DepartmentName> <ID>1</ID> <MaxDealPercentage>1.1</MaxDealPercentage> <MinDealPercentage>8.1</MinDealPercentage> <SizeDescription>sample string 5</SizeDescription> <StoreSizeDealID>2</StoreSizeDealID> <StoreSizeID>1</StoreSizeID> <SubDepartmentCode>sample string 4</SubDepartmentCode> <SubDepartmentName>sample string 7</SubDepartmentName> </DepartmentStoreSizeDeal> </Deals> <DefaultMaxDaysStock>7</DefaultMaxDaysStock> <DefaultStockOrderDaysMinimum>8</DefaultStockOrderDaysMinimum> <DepartmentCode>sample string 2</DepartmentCode> <DepartmentName>sample string 5</DepartmentName> <ID>1</ID> <MaxDaysStock>1</MaxDaysStock> <SizeDescription>sample string 4</SizeDescription> <StockOrderDaysMinimum>1</StockOrderDaysMinimum> <StoreSizeID>1</StoreSizeID> <SubDepartmentCode>sample string 3</SubDepartmentCode> <SubDepartmentName>sample string 6</SubDepartmentName> </DepartmentStoreSize>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
A list of department store sizes for department
None.