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": "1f734711-69d9-4220-8fe3-fa27bc91a7d0",
"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>1f734711-69d9-4220-8fe3-fa27bc91a7d0</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>1f734711-69d9-4220-8fe3-fa27bc91a7d0</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 �2�\H\�u� 5 xl/workbook.xml � (� ����0D�J��(���E��ҵCw�D�%���7�ԭ��|~�b�fl��GN�榤�ssΘm�`/zF�w�6����tߋkݾ%*�b�Sfp'����-�h���l:; :9m( B��|"�X�=.6Ho�uW��-�~SE�AKZ�J�s�JQbr�GvK�k��(�e ����`���PK �2�\���� � [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
�2�\�%~-' ' _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="Ra6ecbb7c53294f1f" /></Relationships>PK �2�\ˇ]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 �2�\�9Y� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�i�vÆm�\gGMl�v���G�
XE�Tb�������4����ٽM#y�g(�v�`�Ω{���n�8��'�|$y��LJ~Mi�'���N�¤RNCO��'�#]0&h�3�I��!��4>:}�Ц?��ՅS4� �A�S?�H��,2�S��~�G�+�%g�B��e������d;*)������]e�
�>��/=w��gjRpUU��KQ]���_l� PK �2�\Ѓ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 �2�\�/�� � 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- �2�\H\�u� 5 xl/workbook.xmlPK- �2�\���� � [Content_Types].xmlPK-
�2�\�%~-' ' V _rels/.relsPK- �2�\ˇ]e' � xl/worksheets/sheet1.xmlPK- �2�\�9Y� P ; xl/_rels/workbook.xml.relsPK- �2�\Ѓc'2 E
� xl/styles.xmlPK- �2�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �2�\Ӊ�ڶ 5 xl/workbook.xml � (� ����0��J}�(�������k��.�A~���� �[7��������i��>z2T��!�Bj�@���]o��� ����ƶo�&�4Ir�q����A9��9��р��4(���ri�P8�*���]L&���M�+�X3���
�lun]�%g�Pq��̺�ˮY��d\��V��w�PK �2�\���� � [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
�2�\Oj��' ' _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="Rd290429ddaf9413c" /></Relationships>PK �2�\ˇ]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 �2�\����� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N�VM�a�m��=��&vd����G�
XE�Tb�������4�����y�{���N{ӻ��Sja�Y�qP)OD�O���)M+J��8�X� ]�>�*�4ttR��:�%c��9n��p��?D߶��'�O#����}8F���T�05�S��x��@v��=ra�KQ2.�@���b����L�0���Zȗ�]e�
h�Sȗ�;��3��,��LJ�E)������PK �2�\Ѓ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 �2�\�/�� � 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- �2�\Ӊ�ڶ 5 xl/workbook.xmlPK- �2�\���� � � [Content_Types].xmlPK-
�2�\Oj��' ' U _rels/.relsPK- �2�\ˇ]e' � xl/worksheets/sheet1.xmlPK- �2�\����� P : xl/_rels/workbook.xml.relsPK- �2�\Ѓc'2 E
� xl/styles.xmlPK- �2�\�/�� � � xl/sharedStrings.xmlPK � �