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": "cc8d9d3d-a676-4740-8082-5a5dbacffe7d", "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>cc8d9d3d-a676-4740-8082-5a5dbacffe7d</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>cc8d9d3d-a676-4740-8082-5a5dbacffe7d</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 P�[e� �� 5 xl/workbook.xml � (� ����0��&�C��РQR8q���{-[i�?ik��-%�x�3;�����a��z2�� bt5!A�y8X&����$��X)��Ί� -��0� �r��X�y�} ��V����v�C�-�� �e2�u�5D~S,ö�������1�εop���UnT�ˢ���(D%*�7�c���� PK P�[���� � [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 P�[ �7' ' _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="Rb14c3a31a8684a85" /></Relationships>PK P�[ˇ]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 P�[&r5� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞81Χ�i7lؖ^���I�Ķl��Xp$��U$p%l����I3�����2��a����(���VMf���]��z���i"��$�����{�4� �Ф��~1�~�Nȣ���l��p�$�����֓�G+O����Z#b�~���O)�K��D�z�1�U�b+^K�%g@���B<�~���L�u]�nu�k��Tf�s��ҹS^��x�d������ŋ����PK P�[Ѓ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 P�[�/�� � 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- P�[e� �� 5 xl/workbook.xmlPK- P�[���� � [Content_Types].xmlPK- P�[ �7' ' V _rels/.relsPK- P�[ˇ]e' � xl/worksheets/sheet1.xmlPK- P�[&r5� P ; xl/_rels/workbook.xml.relsPK- P�[Ѓc'2 E � xl/styles.xmlPK- P�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK P�[�%w� 5 xl/workbook.xml � (� ����0��&�C����R8q���{��4П�5���H�yۙ��v�l��4fD5i_�!؊� ��?:�q��(!d��� t 9�W�`�A�i=^i���u�{? 5�(ť���[�=$�>�hlu�5D~S,������ j���1Jέ�q���d�YIE 4������a�l��/PK P�[���� � [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 P�[v{�0' ' _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="Rcd8f613a4583407b" /></Relationships>PK P�[ˇ]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 P�[$H�u� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N��AM�aö��'Q۲]�gc���V� �X��j4��'�|�lvo�D^0���x���UN����̝��v��I�<��G�Wl�`H��SՀ����hsǸ0˔��S/�Q�HK�j��f�����ΘQ�S�m�L_]8�19��c���%�"S�<����2�"+ו��L-�����;_�hn���J��6��2�~J!_z�,/�d�*E��V�𪩛�����PK P�[Ѓ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 P�[�/�� � 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- P�[�%w� 5 xl/workbook.xmlPK- P�[���� � � [Content_Types].xmlPK- P�[v{�0' ' U _rels/.relsPK- P�[ˇ]e' � xl/worksheets/sheet1.xmlPK- P�[$H�u� P : xl/_rels/workbook.xml.relsPK- P�[Ѓc'2 E � xl/styles.xmlPK- P�[�/�� � � xl/sharedStrings.xmlPK � �