POST api/zones
Add/Save zone
Request Information
URI Parameters
None.
Body Parameters
Zone model to be saved
Zone| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| StoreID | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 20 |
|
| IBAStoreCode | string |
String length: inclusive between 0 and 20 |
|
| Button1 | string |
String length: inclusive between 0 and 28 |
|
| Button2 | string |
String length: inclusive between 0 and 28 |
|
| Button3 | string |
String length: inclusive between 0 and 28 |
|
| Button4 | string |
String length: inclusive between 0 and 28 |
|
| Button5 | string |
String length: inclusive between 0 and 28 |
|
| Button6 | string |
String length: inclusive between 0 and 28 |
|
| Button7 | string |
String length: inclusive between 0 and 28 |
|
| Button8 | string |
String length: inclusive between 0 and 28 |
|
| Button9 | string |
String length: inclusive between 0 and 28 |
|
| Button10 | string |
String length: inclusive between 0 and 28 |
|
| ShowPage1 | boolean |
None. |
|
| ShowPage2 | boolean |
None. |
|
| ShowPage3 | boolean |
None. |
|
| ShowPage4 | boolean |
None. |
|
| ShowPage5 | boolean |
None. |
|
| ShowPage6 | boolean |
None. |
|
| ShowPage7 | boolean |
None. |
|
| ShowPage8 | boolean |
None. |
|
| ShowPage9 | boolean |
None. |
|
| ShowPage10 | boolean |
None. |
|
| storeName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"storeID": 2,
"name": "sample string 3",
"ibaStoreCode": "sample string 4",
"button1": "sample string 5",
"button2": "sample string 6",
"button3": "sample string 7",
"button4": "sample string 8",
"button5": "sample string 9",
"button6": "sample string 10",
"button7": "sample string 11",
"button8": "sample string 12",
"button9": "sample string 13",
"button10": "sample string 14",
"showPage1": true,
"showPage2": true,
"showPage3": true,
"showPage4": true,
"showPage5": true,
"showPage6": true,
"showPage7": true,
"showPage8": true,
"showPage9": true,
"showPage10": true,
"storeName": "sample string 25"
}
application/xml, text/xml
Sample:
<Zone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Pos.Devices"> <Button1>sample string 5</Button1> <Button10>sample string 14</Button10> <Button2>sample string 6</Button2> <Button3>sample string 7</Button3> <Button4>sample string 8</Button4> <Button5>sample string 9</Button5> <Button6>sample string 10</Button6> <Button7>sample string 11</Button7> <Button8>sample string 12</Button8> <Button9>sample string 13</Button9> <IBAStoreCode>sample string 4</IBAStoreCode> <ID>1</ID> <Name>sample string 3</Name> <ShowPage1>true</ShowPage1> <ShowPage10>true</ShowPage10> <ShowPage2>true</ShowPage2> <ShowPage3>true</ShowPage3> <ShowPage4>true</ShowPage4> <ShowPage5>true</ShowPage5> <ShowPage6>true</ShowPage6> <ShowPage7>true</ShowPage7> <ShowPage8>true</ShowPage8> <ShowPage9>true</ShowPage9> <StoreID>2</StoreID> <storeName>sample string 25</storeName> </Zone>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
zone 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 j3�\ʤO�� 5 xl/workbook.xml � (� ����0D�&�C����8q����B�������Ϸ@ ��mgv�픓�}�\O>f���U1�c�Sh �܈6��b��Ŝ����uo�62�e�q���
J����Xa�"(�h�e@[Z��s���),2[��$l
��T����E+�@J�.*z��:
���� Q�<���;�d���PK j3�\���� � [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
j3�\��Ɔ' ' _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="Ra8f3fda287034a4b" /></Relationships>PK j3�\��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 j3�\��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8q)�i7lؖ^`b�㨉�.г��H\�H�J,�t5��ӓf>�?�۷id/��]UQ#��\��1��l7����D��Y^q�����yT�&������a����{�,�xX2������C����:N��`���!Z�l�����O)�s��L��[�I��hHwB�{Ư��i�����/d��Hkq��VR���X��Sȗ^:-���it';QרdUug5~��/PK j3�\Ѓ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 j3�\�/�� � 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- j3�\ʤO�� 5 xl/workbook.xmlPK- j3�\���� � � [Content_Types].xmlPK-
j3�\��Ɔ' ' U _rels/.relsPK- j3�\��4 � � xl/worksheets/sheet1.xmlPK- j3�\��� P - xl/_rels/workbook.xml.relsPK- j3�\Ѓc'2 E
r xl/styles.xmlPK- j3�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK j3�\��4̶ 5 xl/workbook.xml � (� ����0��J}�(�PD0�t����� ?JR��o �ԭ��|�|�l��[;���L�|Ce��b,5��uh�NX�!&�_�
�����h"˳�d'�ʚ �t���
�#� ��6�eh{>R/͞
��d�u��-�~S�
;.VEhlh(Y�;o�_�4<ʾ���{(�--v������PK j3�\���� � [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
j3�\���' ' _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="Rc251f502d0a646cd" /></Relationships>PK j3�\��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 j3�\�UXq� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_c;��T!�d�m��3+6 ms�.z�^�(�Gꢛ��|OO3|~���H�0��YUQA+�l���S��z�#O�F4��$?���I�?S�����y���]�x�e����{�uY�4�p�$�����փĝ�� m�L�]8F���x�11�F�^���T /���B��n��Q�
}�ZL���뷞�t�,�J/D#�~����k
y�s�y<S[u��V���Z��F����PK j3�\Ѓ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 j3�\�/�� � 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- j3�\��4̶ 5 xl/workbook.xmlPK- j3�\���� � � [Content_Types].xmlPK-
j3�\���' ' U _rels/.relsPK- j3�\��4 � � xl/worksheets/sheet1.xmlPK- j3�\�UXq� P - xl/_rels/workbook.xml.relsPK- j3�\Ѓc'2 E
t xl/styles.xmlPK- j3�\�/�� � � xl/sharedStrings.xmlPK � �