POST api/product/item/hierarchy/import
Request Information
URI Parameters
None.
Body Parameters
Collection of 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:
[ { "$id": "1", "storeID": 1, "plu": 1, "guid": "91cee3ce-3faa-45bf-89fc-3fc0f28cbfe5", "gstPercent": 1, "departmentCode": "sample string 2", "subDepartmentCode": "sample string 3", "minorDepartmentCode": "sample string 4", "lesserDepartmentCode": "sample string 5" }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfProductItemHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <ProductItemHierarchy> <DepartmentCode>sample string 2</DepartmentCode> <GSTPercent>1</GSTPercent> <Guid>91cee3ce-3faa-45bf-89fc-3fc0f28cbfe5</Guid> <LesserDepartmentCode>sample string 5</LesserDepartmentCode> <MinorDepartmentCode>sample string 4</MinorDepartmentCode> <PLU>1</PLU> <StoreID>1</StoreID> <SubDepartmentCode>sample string 3</SubDepartmentCode> </ProductItemHierarchy> <ProductItemHierarchy> <DepartmentCode>sample string 2</DepartmentCode> <GSTPercent>1</GSTPercent> <Guid>91cee3ce-3faa-45bf-89fc-3fc0f28cbfe5</Guid> <LesserDepartmentCode>sample string 5</LesserDepartmentCode> <MinorDepartmentCode>sample string 4</MinorDepartmentCode> <PLU>1</PLU> <StoreID>1</StoreID> <SubDepartmentCode>sample string 3</SubDepartmentCode> </ProductItemHierarchy> </ArrayOfProductItemHierarchy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of booleanResponse Formats
application/json, text/json
Sample:
[ true, true ]
application/xml, text/xml
Sample:
<ArrayOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <boolean>true</boolean> <boolean>true</boolean> </ArrayOfboolean>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 0�Z\+ �� 5 xl/workbook.xml � (� ��;�0D�H�����2T4iS�7�[�lG��1 �ҥۙ�};t��o���G&���2FW����:0i�Y�YLҿ��:š����D�gٙxXT��\��Vp� �aAi���;����`�L�Zw2YB�7Eg�v1+d�� 7,2�f�.*|�ȗ* ���+ϳ"/D!������w�PK 0�Z���� � [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 0�Z�K��' ' _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="Ra657765b52804b57" /></Relationships>PK 0�Zˇ]e' xl/worksheets/sheet1.xml � (� �Q�n� ~�}%��j��T��j�M;lg�85����?�H]��`��c�r{u��@�}%�U&�[�O��{x�ۺ�0�� �p7���h�(N������4qN ��6��ft�IY�VzMl��\���� �M%�~�r�zY��e��z���.�� )T]&�)��b��x�����Yª_�C2��N�=}�� �d���8 �1���ytR8}M�d[2�|Y�ٺ`t3FB��\��BO^{M�.N"�gV���1UȦGn�R祺�\^�q�N�'G�y*�"AHU�>��PK 0�Z��(� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q��A6ݰ�\���qDbG�)�l]�H�B-*�A�V��==i���c�{�F��ִ�JR h����[8��`��p�!Nx=̞��[�!�kJ��8q��M�(�&b�z:sq�=�,M+��g��u���R��g+����^�;y����1��S��VI����5YZd�,dW�S��:�����2����rְ�*�=TFs��%�x�Ӳ�T�x���,�:�����_l� PK 0�ZЃ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 0�Z�/�� � 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- 0�Z\+ �� 5 xl/workbook.xmlPK- 0�Z���� � [Content_Types].xmlPK- 0�Z�K��' ' V _rels/.relsPK- 0�Zˇ]e' � xl/worksheets/sheet1.xmlPK- 0�Z��(� P ; xl/_rels/workbook.xml.relsPK- 0�ZЃc'2 E � xl/styles.xmlPK- 0�Z�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 0�Z��|A� 5 xl/workbook.xml � (� ����0D�&�C���D��x��}��4Ж�5���H�yۙ�};�l��3����mI{隆1�����̄:성 |��Ō��ڴo�ڳ��Y�K�]/'GW�?,7Y����^�+J�Դ:)�fO���2[��$l ��Ta�ETD�����ܻ��)��Ãwi�]� � �H2��wX����PK 0�Z���� � [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 0�ZJGM�' ' _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="R6813a04775094c94" /></Relationships>PK 0�Zˇ]e' xl/worksheets/sheet1.xml � (� �Q�n� ~�}%��j��T��j�M;lg�85����?�H]��`��c�r{u��@�}%�U&�[�O��{x�ۺ�0�� �p7���h�(N������4qN ��6��ft�IY�VzMl��\���� �M%�~�r�zY��e��z���.�� )T]&�)��b��x�����Yª_�C2��N�=}�� �d���8 �1���ytR8}M�d[2�|Y�ٺ`t3FB��\��BO^{M�.N"�gV���1UȦGn�R祺�\^�q�N�'G�y*�"AHU�>��PK 0�Z� ��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞���TM�aö��3N�&�e�@�Ƃ#q�"�+�`S�b4?=�����ٽ-3{!�'�;�3��4���NAݭ`���i�7�8Y���;C�kνiA�K:N�q�X��[�G�B4ܥ�f�����F�I҃���t��_�;��( ;�(t������,R�=��E_=7�h�F�T� �7S��<����������eٶ��b�TfDG�Sp�S�����&��}YH�}���E�_���PK 0�ZЃ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 0�Z�/�� � 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- 0�Z��|A� 5 xl/workbook.xmlPK- 0�Z���� � � [Content_Types].xmlPK- 0�ZJGM�' ' U _rels/.relsPK- 0�Zˇ]e' � xl/worksheets/sheet1.xmlPK- 0�Z� ��� P : xl/_rels/workbook.xml.relsPK- 0�ZЃc'2 E � xl/styles.xmlPK- 0�Z�/�� � � xl/sharedStrings.xmlPK � �