POST api/product/item/hierarchy/import
Request Information
URI Parameters
None.
Body Parameters
Collection of ProductItemHierarchy| Name | 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": "9ac4e204-35a5-484d-9003-8f2406f985a4",
"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>9ac4e204-35a5-484d-9003-8f2406f985a4</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>9ac4e204-35a5-484d-9003-8f2406f985a4</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 X��\��>� 5 xl/workbook.xml � (� ����0��&�C����� '.^=x�ek�O�||K $���~;�d��4f@5j_��lE�g�cA�7N��{ùd��V�ɏǒ8i�F{!�����h�@P�RTj��w�s����'���l"���o�N��")���w4P��s��a�*�;Y~.��PW�7������PK X��\���� � [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
X��\N^ы' ' _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="R01d3bc13eca746d5" /></Relationships>PK X��\ˇ]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 X��\���|� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8v]C���tö��3N�&�e����G�
XE�Tb�������4����M#9c���5���V�v�]
�d�`�Y�qT)O�~��k�S�+J��qR�pm�&�r:�>�)/KIÜ�Lr�x��3h�9}�Ц?��Յc���
�~J�^+2�s[��K��Q��B��e������dlD�*����,�*ӫ��K
��s�yy�&���q^�V�v��j��/6_PK X��\Ѓ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 X��\�/�� � 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- X��\��>� 5 xl/workbook.xmlPK- X��\���� � [Content_Types].xmlPK-
X��\N^ы' ' V _rels/.relsPK- X��\ˇ]e' � xl/worksheets/sheet1.xmlPK- X��\���|� P ; xl/_rels/workbook.xml.relsPK- X��\Ѓc'2 E
� xl/styles.xmlPK- X��\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK X��\"�� 5 xl/workbook.xml � (� ����0D�&�C��B�N\�z��VhK��|�o�vfg����kcz�Q�v�-h���3���Q�;a�?K�bF�`e��B�YE�8��F�N����Xn����V��iy<fO��r6���I�b�)`�EPD�V����ۂ�)����G�&Y[_SqK�K��;���w�PK X��\���� � [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
X��\p w' ' _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="Rce854b95a8c049cf" /></Relationships>PK X��\ˇ]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 X��\b�i� P xl/_rels/workbook.xml.rels � (� ��An� E��f_��@�*$�n�Ms�c�Hۜ���W(J�֑��&+4��i������m��8x'aU�@�i�
��pJ殁�f��Q�|#�a�$?qQ�Mi~�4j��������aR)�����G�#��Rаd�5���3���4>z}�Х?��Շc�� �^����(�˱*2�S'a�y-�C�M[W�R��ZL���w��i��F��Ղ���Tƪ��s
y�K�e�Pc�2O��L_��տ�|PK X��\Ѓ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 X��\�/�� � 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- X��\"�� 5 xl/workbook.xmlPK- X��\���� � [Content_Types].xmlPK-
X��\p w' ' V _rels/.relsPK- X��\ˇ]e' � xl/worksheets/sheet1.xmlPK- X��\b�i� P ; xl/_rels/workbook.xml.relsPK- X��\Ѓc'2 E
� xl/styles.xmlPK- X��\�/�� � � xl/sharedStrings.xmlPK � �