POST api/genericimport/filefields/{fileDelimiter}/{headerRowIndex}/{fileType}
Get list of fields name(column header) available on uploaded file
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fileDelimiter | ImportFileDelimiter |
Required |
|
headerRowIndex | integer |
Required |
|
fileType | ImportFileType |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GenericImportFileDetailName | Description | Type | Additional information |
---|---|---|---|
Index | integer |
None. |
|
SheetName | string |
None. |
|
Columns | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "index": 1, "sheetName": "sample string 2", "columns": [ "sample string 1", "sample string 2" ] }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfGenericImportFileDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.GenericImport"> <GenericImportFileDetail> <Columns xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Columns> <Index>1</Index> <SheetName>sample string 2</SheetName> </GenericImportFileDetail> <GenericImportFileDetail> <Columns xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Columns> <Index>1</Index> <SheetName>sample string 2</SheetName> </GenericImportFileDetail> </ArrayOfGenericImportFileDetail>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK T�[�s�L� 5 xl/workbook.xml � (� ����0��&�C������x��}�[�@[ҭ�Ǘ�@������S�>t�����QJ�cr!��h�N~@7��$�Kx�L��o�]�$���=D�i3_i��h�4b����`��Ɗ����H�����l2���o�X`�Ţ��%�!g�s�%O9�����&��y�Y�f|g�Bl��/PK T�[���� � [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 T�[��V' ' _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="R1c5678cc37404ecf" /></Relationships>PK T�[�f{ � xl/worksheets/sheet1.xml � (� ��Ks� �� þ"`��f�L��tѮ�bd"��6f�n�;��{�xq�8qm����^g*�.�G[<M�"��������f�XZ{�#d��Kfu�;+��̺��!U"��%�-"a8F�W̺(S�������As��d�YI&j�ƹp�m�@�"�K<_SP{�]���X���O����%O`�Y4��>�U���X�7�<s�+���k2UR���@���7"�eg��1qtv4Vɏ�1�Vw:rё^��`2 �G��t:!�����>��d�1uC���u��V7̲4֪�;�v�tK��z6nҧ4�ѩ�^�Ր����� =�\d�K��䢹�"?z�8$����H$�?��m"�1��}�\o��\�7��[�PK T�[���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�iܴ��vÆm�&�8��ؑ�=�����ĂMW��==i���c��B>��gY�to���<�a��h��&B�O��j�b�6��ш!s��1ΏS�[>�:aK|!D����Lv�L��3�W���y$� �W�O�#����[�5����<KT`O����&_+MBZ�\�wS�2P�����2Z/��B� Y��2z��ѧKϝ�噚T��lʪ,d�ī����PK T�[Ѓ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 T�[�~�� C xl/sharedStrings.xml � (� eP]K1�+a�M���Hr}((��$�!���͙ݓ�ߛ��Pgfg��>�>�r,�`�;PH�����n@�x|*�NȠֽeլ�F���#fϺLHMٗ��4X���~�Qr2ˮ�6�G�L�`j��>������oi��5�[s&���9��g�6%͙��f����Fm���_܉�n�A��Ơ"�����b����7m��PK- T�[�s�L� 5 xl/workbook.xmlPK- T�[���� � � [Content_Types].xmlPK- T�[��V' ' U _rels/.relsPK- T�[�f{ � � xl/worksheets/sheet1.xmlPK- T�[���� P � xl/_rels/workbook.xml.relsPK- T�[Ѓc'2 E � xl/styles.xmlPK- T�[�~�� C M xl/sharedStrings.xmlPK � p
application/vnd.ms-excel
Sample:
PK T�[IL � 5 xl/workbook.xml � (� ����0D�J��(�P����ҵCwL�$(IE?�R�n�����lݫ��E>z4�r5�!Lc^H��/vB���4�E�'�à�V�5���$ə����K5y���a��!�^"=n( ���|"��� g�b�uW��-�~S<����5m! %ѹ�5�R�*��T@��吖)dyWЃ}�8�7_PK T�[���� � [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 T�[A��U' ' _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="Rdfa4d22c0d504cfd" /></Relationships>PK T�[�f{ � xl/worksheets/sheet1.xml � (� ��Ks� �� þ"`��f�L��tѮ�bd"��6f�n�;��{�xq�8qm����^g*�.�G[<M�"��������f�XZ{�#d��Kfu�;+��̺��!U"��%�-"a8F�W̺(S�������As��d�YI&j�ƹp�m�@�"�K<_SP{�]���X���O����%O`�Y4��>�U���X�7�<s�+���k2UR���@���7"�eg��1qtv4Vɏ�1�Vw:rё^��`2 �G��t:!�����>��d�1uC���u��V7̲4֪�;�v�tK��z6nҧ4�ѩ�^�Ր����� =�\d�K��䢹�"?z�8$����H$�?��m"�1��}�\o��\�7��[�PK T�[z �v� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8I㠦ݰa[z��3��&vd�@�Ƃ#q�"A*�`��h~OO��|�Xoߦ�����-Y��r�`�NQ�I�n�;1��`�9��bC&����M27�M���1���3�#���<�/p�d��L�!:�E�N�&��0u�Q�G�Sl��%Y�{�Zؕ e�5�lJ��A�7S�<R����2�����QX����AO�s���K�ey�։��e-kLjz%.j��/6_PK T�[Ѓ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 T�[�~�� C xl/sharedStrings.xml � (� eP]K1�+a�M���Hr}((��$�!���͙ݓ�ߛ��Pgfg��>�>�r,�`�;PH�����n@�x|*�NȠֽeլ�F���#fϺLHMٗ��4X���~�Qr2ˮ�6�G�L�`j��>������oi��5�[s&���9��g�6%͙��f����Fm���_܉�n�A��Ơ"�����b����7m��PK- T�[IL � 5 xl/workbook.xmlPK- T�[���� � � [Content_Types].xmlPK- T�[A��U' ' U _rels/.relsPK- T�[�f{ � � xl/worksheets/sheet1.xmlPK- T�[z �v� P � xl/_rels/workbook.xml.relsPK- T�[Ѓc'2 E � xl/styles.xmlPK- T�[�~�� C M xl/sharedStrings.xmlPK � p