POST api/adverts

Save advert files (images and videos) onto disk and create thumbnails onto database

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Dictionary of integer [key] and string [value]

Response Formats

application/json, text/json

Sample:
{
  "1": "sample string 2",
  "3": "sample string 4"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintstring>
    <Key>1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfintstring>
  <KeyValueOfintstring>
    <Key>3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfintstring>
</ArrayOfKeyValueOfintstring>

text/csv

Sample:

Sample not available.

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PKS�D[��P�5xl/workbook.xml �(�����0��&�C��ʟ�N\�z�^ak�O�||�o�vfg�:7<��G��W��"[�;������7N�0K�"�s�Ak��Hr>��Ȃ4�i=^i���u�z/�W�bR��x@�.�&�llu�5D~S4�����f
jܲ�0�έ��#W�y��<��E�i�f����a�l��/PKS�D[����	�[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
S�D[�RO''_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="R3ab3d93b8d8e46fb" /></Relationships>PKS�D[ԋ��/"xl/worksheets/sheet1.xml �(��QKo� �+��J��VI�JU�ݦ�3K��p��ϟC��Z/;��=lS�.�ggp^�-y�J8[c�mW�1�k���	��+��n�֕\�0l��#�
�Tk�(u����5�
� �$yz��+=x���G�d[0�"e���*M�s��A[�}��g�����
����<��iN^��'+���h��X�����NZ�S����x3���qf�%��n��h�J7�I��7i��9g���ϟ���Dσ�*N��2��ўB;%sO#����K��WN����8����T�\pG�.vu���PKS�D[����Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8q�4Tu�aö���Q۲]�gc���V� �X��j4��'�|�lvo�D^0��YUQA�\?�A�)�v��'��D4��$��(���הFep��pm�hf�r�:�)+˖�%���p����zT���iF���W�� & L~J�^BUd*��^�^7|յ�i��\7@���b:O���L��0�y��7�12`��B���iY^�I�,���g}}Q�W��PKS�D[Ѓc'2E
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��PKS�D[ΤЫ�xl/sharedStrings.xml �(�]���1D�鳚qV�E�x��$�L��t�t����d�E������nT$fv�^5�]�#_~�/��}3��?���"
u��pP���H7P
��qm~rIAk,#S���@�i4m�|�"#tyfu�"��3�_�Do՟������E�RО�Qoͣ2���c���PK-S�D[��P�5xl/workbook.xmlPK-S�D[����	�[Content_Types].xmlPK-
S�D[�RO''V_rels/.relsPK-S�D[ԋ��/"�xl/worksheets/sheet1.xmlPK-S�D[����PCxl/_rels/workbook.xml.relsPK-S�D[Ѓc'2E
�xl/styles.xmlPK-S�D[ΤЫ�xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKS�D[�z�5xl/workbook.xml �(�����0D�&�C���DR8q����Zi�-ik��-H�yۙ�};b��Zۓ��/\I�Ƃ1/;��OvDw�uB���l�*���o�&�4I.��AY�;5z���a��!4�CzXQ����@���=N~�����&ak�����/Eh,i
(Y�[S�3%�Pq�c.���g�r�3��w�`���PKS�D[����	�[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
S�D[��(�''_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="Rf0b88a5436924155" /></Relationships>PKS�D[ԋ��/"xl/worksheets/sheet1.xml �(��QKo� �+��J��VI�JU�ݦ�3K��p��ϟC��Z/;��=lS�.�ggp^�-y�J8[c�mW�1�k���	��+��n�֕\�0l��#�
�Tk�(u����5�
� �$yz��+=x���G�d[0�"e���*M�s��A[�}��g�����
����<��iN^��'+���h��X�����NZ�S����x3���qf�%��n��h�J7�I��7i��9g���ϟ���Dσ�*N��2��ўB;%sO#����K��WN����8����T�\pG�.vu���PKS�D[�@s��Pxl/_rels/workbook.xml.rels �(���AN�0E�b͞8i'AM�aö��3N�&vd�@�Ƃ#q,*�+�`ӕ53����lvo��^��њ�,FF�n4}���j�m7{�0�~���[BX�9�j�}f2q���1���|AuĞ�*�%w)���p^�?D�������L&����@���Z�iy�}Y�{�Z�S��%ָB����p���z]�D&'���UWJ��o*3���)����)m�95BV��Z�/9���PKS�D[Ѓc'2E
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��PKS�D[ΤЫ�xl/sharedStrings.xml �(�]���1D�鳚qV�E�x��$�L��t�t����d�E������nT$fv�^5�]�#_~�/��}3��?���"
u��pP���H7P
��qm~rIAk,#S���@�i4m�|�"#tyfu�"��3�_�Do՟������E�RО�Qoͣ2���c���PK-S�D[�z�5xl/workbook.xmlPK-S�D[����	��[Content_Types].xmlPK-
S�D[��(�''U_rels/.relsPK-S�D[ԋ��/"�xl/worksheets/sheet1.xmlPK-S�D[�@s��PBxl/_rels/workbook.xml.relsPK-S�D[Ѓc'2E
�xl/styles.xmlPK-S�D[ΤЫ�xl/sharedStrings.xmlPK��