PUT api/storeSize/{id}

Create or update a store save with a particular identifier

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Store size identifier

integer

Required

Body Parameters

Store save model to be saved

StoreSize
NameDescriptionTypeAdditional 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

integer

Response 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:
PKy�[���5xl/workbook.xml �(�����0D�H��;9PѤM�~�K���lG��F �K�3;�v����2�#�k����!ؔ1_����E=���Q�3M#k,M�V�;p~f{�h�J��L���C�E��Q
���vCH65{J|���ԝL���Me�^DE4(�i	(��]�tO�K�8<�G�\8��&��
]�+,c���PKy�[����	�[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
y�[���''_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="R6e27d33a8f0045d4" /></Relationships>PKy�[��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�PKy�[�8|��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞�)I���ݰa[z��=��&vd�@�Ƃ#q�"�T�MW��==i���k���F>�ζ�gY�To��Q?԰Y��4`L��S`iņL���A1dn"�:��cJ}�'��/����3��v���CtZ����<�d�
0w�Q�C�Ql��9�Y�{Q-l�GQ.���Q�B)
��M-��@�����d�E�4{U꼩�ZTw�1�I�F�.=w��gj�^�Xb�Q�BV�Y�_���PKy�[Ѓc'2E
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��PKy�[�/���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-y�[���5xl/workbook.xmlPK-y�[����	�[Content_Types].xmlPK-
y�[���''V_rels/.relsPK-y�[��4��xl/worksheets/sheet1.xmlPK-y�[�8|��P.xl/_rels/workbook.xml.relsPK-y�[Ѓc'2E
uxl/styles.xmlPK-y�[�/����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKy�[�S�ܶ5xl/workbook.xml �(����� ��M��(j�i�z��k�SX
Q~4��Mz�mgv���맧���ل��X��ZB��i�X&����$��X!�Ѳ�IU
�0Ө�	R��7�?��<P$@���T<�Ouk���%d����j"���o�˰�"+d���4R��s�=.1�J�=����J��������{�PKy�[����	�[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
y�[��''_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="Rf2b9a2c9443a4a04" /></Relationships>PKy�[��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�PKy�[V����Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8��5�M�����8jbG�[��Xp$��U$H%l����I3�����4�39?X�B����+ӷp
ꡆ�f��C��z�=�+Ʒ�C��8�Bӄ>�3��Q�Mb�z>�8bO<Oӊ�%n��p��?D�� �ي�D&����&
��z
-��<��,�T`;��>(+�LH%˪����p��z}�zDY�6DuY4�]e4:�/��K/���Z�E�7�"��r�������PKy�[Ѓc'2E
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��PKy�[�/���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-y�[�S�ܶ5xl/workbook.xmlPK-y�[����	��[Content_Types].xmlPK-
y�[��''U_rels/.relsPK-y�[��4��xl/worksheets/sheet1.xmlPK-y�[V����P-xl/_rels/workbook.xml.relsPK-y�[Ѓc'2E
rxl/styles.xmlPK-y�[�/����xl/sharedStrings.xmlPK��