PUT api/storeSize/{id}
Create or update a store save with a particular identifier
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Store size identifier |
integer |
Required |
Body Parameters
Store save model to be saved
StoreSizeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Description | string |
String length: inclusive between 0 and 60 |
|
MaxDaysStock |
Maximum allowable days of stock |
integer |
None. |
StockOrderDaysMinimum |
Whether the Days Stock Order setting is a minimum or addition (0 = minimum) |
StockOrderDays |
None. |
Deals | Collection of StoreSizeDeal |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "description": "sample string 1", "maxDaysStock": 2, "stockOrderDaysMinimum": 3, "deals": [ { "$id": "2", "id": 1, "storeSizeID": 1, "minDealPercentage": 2.1, "maxDealPercentage": 1.1, "daysStockOrder": 3 }, { "$ref": "2" } ] }
application/xml, text/xml
Sample:
<StoreSize xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stores"> <Deals> <StoreSizeDeal> <DaysStockOrder>3</DaysStockOrder> <ID>1</ID> <MaxDealPercentage>1.1</MaxDealPercentage> <MinDealPercentage>2.1</MinDealPercentage> <StoreSizeID>1</StoreSizeID> </StoreSizeDeal> <StoreSizeDeal> <DaysStockOrder>3</DaysStockOrder> <ID>1</ID> <MaxDealPercentage>1.1</MaxDealPercentage> <MinDealPercentage>2.1</MinDealPercentage> <StoreSizeID>1</StoreSizeID> </StoreSizeDeal> </Deals> <Description>sample string 1</Description> <ID>1</ID> <MaxDaysStock>2</MaxDaysStock> <StockOrderDaysMinimum>3</StockOrderDaysMinimum> </StoreSize>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Store size identifier
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK i�D[X�D� 5 xl/workbook.xml � (� ����0D�J��(� ��"`b�ڡ��D�%���7�ԭ��|~�r�fl��GN����ss����`/zF�w\ �K�b�s�a���D�XE38�Z�A̖n�Xv6���6��h}>R�͞�7���I�b��2������m�%����)1���#� ��<�q{K�<����l�]PK i�D[���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK i�D[�:��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R956defd1027f419a" /></Relationships>PK i�D[��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK i�D[�/�� P xl/_rels/workbook.xml.rels � (� ��=n� ����^�)�8���K�4 �öb��m�֡G��R�%R�.��/�>������yAFg(m��� ���S�ݬw8�6�0.��'640ĸ�( 퀳�[Ц�q~�1����n��G�����f��y���1c���=�h�`���1��^�c?�@/�,�S��NH]2��)��Bo��y����]g2u���RR��2���=G�~:w�ۙ�k&��%gBp&/j��.6_PK i�D[Ѓc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK i�D[�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- i�D[X�D� 5 xl/workbook.xmlPK- i�D[���� � [Content_Types].xmlPK- i�D[�:��' ' V _rels/.relsPK- i�D[��4 � � xl/worksheets/sheet1.xmlPK- i�D[�/�� P . xl/_rels/workbook.xml.relsPK- i�D[Ѓc'2 E s xl/styles.xmlPK- i�D[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK i�D[�_f� 5 xl/workbook.xml � (� ����0��&�C��(B*)��x���" �'m >��o�vfg�6k;6Z��#'� [��{S��$w'm@�]���>H�"��E�n��'�$ɉ��{���qx���r��� �崢$ W�Bli�0�(���]LD��M��/�B�K(q�=�(:���g�l!���SJi�ANo��I)��;���w�PK i�D[���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK i�D[ݪ��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rcd6cf9cda9ce41a0" /></Relationships>PK i�D[��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK i�D[S��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8ibש�vÆm�gGM��v���G� XE�Tb�������4����ݿM#yAg(�Z��� ��~��m8ʘ&��@Ҋ �� �A�d�܌6u��)�=��:��*�9�K�2��2��N�A�S� m�L_�?����16�S ��,Q�<u t)�`��yՖ��Z��ï�w��iˢVעj늗�2Fz잣O�^:-�5,�*J�b�XU��U�����PK i�D[Ѓc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK i�D[�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- i�D[�_f� 5 xl/workbook.xmlPK- i�D[���� � [Content_Types].xmlPK- i�D[ݪ��' ' V _rels/.relsPK- i�D[��4 � � xl/worksheets/sheet1.xmlPK- i�D[S��� P . xl/_rels/workbook.xml.relsPK- i�D[Ѓc'2 E u xl/styles.xmlPK- i�D[�/�� � � xl/sharedStrings.xmlPK � �