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": "2127ff1b-22a7-498b-b22c-98ea537ca861", "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>2127ff1b-22a7-498b-b22c-98ea537ca861</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>2127ff1b-22a7-498b-b22c-98ea537ca861</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 .�D[�&��� 5 xl/workbook.xml � (� ����0��J}�(P�K��]0MIP��>~�n�|����G뺧������\�0d �����@&�Z�4�(�l۪�*[�5� �gp�cP�x���?,?8��K����Q^�w��S�����2k��d���7�ϰ�bV̠��W��ٹ5O8s���S�4�\���C+{���.�PK .�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 .�D[�eS' ' _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="R64ba165ffef64a84" /></Relationships>PK .�D[ˇ]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 .�D[�s��� P xl/_rels/workbook.xml.rels � (� ��An� E��f_�1n�*N6�t��#3�Vl��$�ٺ�z��Fj��n�B���f�|�Xoߦ��ȇ���L #�:=خ�c4l7��Ӎ�s`� �1�O���� C�f��c��0��w|���q)�#�K�2��2��Θ��g�'��0?;=Q�G�Ql�' ��ȳD��ءĕe^��Y!0~7�/#�_�k��Ѫ��6�0��*��L���k�i�K�e�P+d]Vd*Y*���Ή����PK .�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 .�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- .�D[�&��� 5 xl/workbook.xmlPK- .�D[���� � � [Content_Types].xmlPK- .�D[�eS' ' U _rels/.relsPK- .�D[ˇ]e' � xl/worksheets/sheet1.xmlPK- .�D[�s��� P : xl/_rels/workbook.xml.relsPK- .�D[Ѓc'2 E � xl/styles.xmlPK- .�D[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK .�D[z�ꑶ 5 xl/workbook.xml � (� ����0��&�C��TP��x��})�4П�5��$���~;�d��3����]I�lΘ=*�'cQ�]g���{1�uR`m�[��$W�p� �������X�:����A�+J�Դ:)�fO��_d4���I�b��b���"��� �,ν-)���2.Ҕsh2qɲG��wX����PK .�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 .�D[��m' ' _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="Rbfdf8a169acb447a" /></Relationships>PK .�D[ˇ]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 .�D[X�� P xl/_rels/workbook.xml.rels � (� ��An� E��f_cl;UH6�t��Ɗ ��9[=R�P�H-���&+4��i������m���0:+�%��������`���q�1�f\IOl`b\�) ��,C������eL��"�QH��\Q�3�I��CtZ� �:�h�`���1�� ��Q�O����D���3U�g��[�@���B<O~�.u&S�uSu� �F�on*c���)����)�3���j[��]{����/PK .�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 .�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- .�D[z�ꑶ 5 xl/workbook.xmlPK- .�D[���� � � [Content_Types].xmlPK- .�D[��m' ' U _rels/.relsPK- .�D[ˇ]e' � xl/worksheets/sheet1.xmlPK- .�D[X�� P : xl/_rels/workbook.xml.relsPK- .�D[Ѓc'2 E � xl/styles.xmlPK- .�D[�/�� � � xl/sharedStrings.xmlPK � �