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 GenericImportFileDetail| Name | 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 j��\B�] � 5 xl/workbook.xml � (� ����0��&�C����J
'.^=x/������R�7o;��������r�-1������d�
��뵕�i_D��h���[��$M��X�Z9.����3X�8��をL(\�wѹ�S���Zw6YB�7E#l��
)&��5���ܻ1�������%K��ɳ�v�{�Q����PK j��\���� � [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
j��\�K��' ' _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="R5f7c989b65f24226" /></Relationships>PK j��\�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 j��\<4P� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_���(N6�d���?�
HӜ���W(J�֑��&+4���������4�W�a���<c@�(��5p������GӍ�.��Ą�݊Ҡz�dȬC�:������uR�d��`��~{&9\��h�vP�l�yB� Ӌ���#F �;�
�D�ގ<KT ;��^�jQ�ǒ�z �>L-����뻞ɔu%�X0��9/*�K��%����<����"�Jc�O���ѻ��PK j��\Ѓ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 j��\�~�� 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- j��\B�] � 5 xl/workbook.xmlPK- j��\���� � [Content_Types].xmlPK-
j��\�K��' ' V _rels/.relsPK- j��\�f{ � � xl/worksheets/sheet1.xmlPK- j��\<4P� P � xl/_rels/workbook.xml.relsPK- j��\Ѓc'2 E
� xl/styles.xmlPK- j��\�~�� C P xl/sharedStrings.xmlPK � s
application/vnd.ms-excel
Sample:
PK j��\��lk� 5 xl/workbook.xml � (� ����0D�&�C���h)��x��}-[�@[����[ �x�3;�v��|�t�#��P������ 7�M;鼁��1'��8�6h#;fمy�!jg��C��V<Bb4��2�-��;B���q�L�Zw2 [B�7�g�v1+b�`E�@���ڊ��R��~�p�ijȳ�n�
�����PK j��\���� � [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
j��\k��{' ' _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="R4aa2e1d02aa340c6" /></Relationships>PK j��\�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 j��\Ħ��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N[��ݰa[z��=N�&vd�@�Ƃ#q�"A*�`Si��|��$����f�6�B콫A9�M��N�ޭ`���i��7b�O��'.�Х4�9���c�'ryb}1�2�|B}Ėx)Ă�9���p��?Dom�����H.��>cG��0��j�iE~I��T`O�����V�*-�B����t(�z}�3�ՈfYY��2���L���s
���N��L���\VZ�9�����~PK j��\Ѓ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 j��\�~�� 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- j��\��lk� 5 xl/workbook.xmlPK- j��\���� � � [Content_Types].xmlPK-
j��\k��{' ' U _rels/.relsPK- j��\�f{ � � xl/worksheets/sheet1.xmlPK- j��\Ħ��� P � xl/_rels/workbook.xml.relsPK- j��\Ѓc'2 E
� xl/styles.xmlPK- j��\�~�� C N xl/sharedStrings.xmlPK � q