POST api/webhooks/registrations
Request Information
URI Parameters
None.
Body Parameters
WebHookName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
WebHookUri | URI |
Required |
|
Secret | string |
None. |
|
Description | string |
None. |
|
IsPaused | boolean |
None. |
|
Filters | Collection of string |
None. |
|
Headers | Dictionary of string [key] and string [value] |
None. |
|
Properties | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "webHookUri": "http://webapihelppage2.com", "secret": "sample string 3", "description": "sample string 4", "isPaused": true, "filters": [], "headers": {}, "properties": {} }
application/xml, text/xml
Sample:
<WebHook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.WebHooks"> <Description>sample string 4</Description> <Headers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <Id>sample string 1</Id> <IsPaused>true</IsPaused> <Properties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <Secret>sample string 3</Secret> <WebHookUri>http://webapihelppage2.com/</WebHookUri> </WebHook>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WebHookName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
WebHookUri | URI |
Required |
|
Secret | string |
None. |
|
Description | string |
None. |
|
IsPaused | boolean |
None. |
|
Filters | Collection of string |
None. |
|
Headers | Dictionary of string [key] and string [value] |
None. |
|
Properties | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "webHookUri": "http://webapihelppage2.com", "secret": "sample string 3", "description": "sample string 4", "isPaused": true, "filters": [], "headers": {}, "properties": {} }
application/xml, text/xml
Sample:
<WebHook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.WebHooks"> <Description>sample string 4</Description> <Headers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <Id>sample string 1</Id> <IsPaused>true</IsPaused> <Properties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <Secret>sample string 3</Secret> <WebHookUri>http://webapihelppage2.com/</WebHookUri> </WebHook>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK -�D[�C��� 5 xl/workbook.xml � (� ����0��&�C��P�)��x��}��6ҟ�5��B $���~;b�����E>z4��5�1����I�N֡�w���,���aP��{k4��,+����&H�]i����}��Q�+J�2�9K���)$9[��$l �ߔH��")b@cM[�@Ir�}MsJ|���v.���]^���2���a�m��/PK -�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 -�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="R5455cb1c52c549d7" /></Relationships>PK -�D[?��� � xl/worksheets/sheet1.xml � (� ��Ao�0�� �}���@Tm�4�M;lg&��Nҟ?�0Z0��^��������;z.U+�>�KQ��!g]��C�^�|S ��3x�62�֧ ��lxW(_�xo�j!�B��<@Q�mɷ�<w��#Ġ��B��TӞ�U��Z�$yQ�#t�[��h{��Uk���$�3�l�x0O-���W�i� 7�#��0�^e Y:��n�Cz���Q��=o�6!Q������!:�uŻ}_�J7f�E! �qdNU����q�_���GO>�� �$@ " A�}��>�����_�����O� D��=6ya�'�b�#q���h��g�'$�4"1Ŕ$��x����(�ԸEt�����m�l]�WO�eS|=��� fzF�N��(����'��ijK�9�u 2'^\"�;��s��%ػD4Є3%�?/r�d��K���+�"�d�nY$���,�ޯ t���U���q�Bsi�n��PK -�D[��^,� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�Ӡ��tö�#{�Q;��B�Ƃ#q�"A*�`��h~OO��|�Xoߦ��ɇ��D�#��l��)�+�n�{1���s`iņ��'�i��l��OS�;>�>bG��s����Lv����k�A����D6���CO��w�)~ "KT`Ϧ���,�Bi!R���Z���¯�w������k�+Qղ��2=z2/ѧK/��党���� UK)˫����PK -�D[Ѓ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 -�D[v�<0 � xl/sharedStrings.xml � (� ��OO1ſJӳn 1fw9@N� �`L(ݑ����Y�ooAbt1$<��u��4�[�^!����ݬ�8�+�6_.��W�!IWI�|�٠���U���µ�j�3�%�裕�Ƹ"� k �F�:���R;Δo��}��_~ �.s*�U.���n�T�`=��yu��AE��:TQJ �h�3� �kC���<I)~�g1e��ሠ��@*0�>Y��ͽ�Z]� An��)o�i�����������H`��7Ԯ�n�A�*�H��@�����|������2nW��.g��y�~JK�<E���PK- -�D[�C��� 5 xl/workbook.xmlPK- -�D[���� � � [Content_Types].xmlPK- -�D[��' ' U _rels/.relsPK- -�D[?��� � � xl/worksheets/sheet1.xmlPK- -�D[��^,� P � xl/_rels/workbook.xml.relsPK- -�D[Ѓc'2 E > xl/styles.xmlPK- -�D[v�<0 � � xl/sharedStrings.xmlPK � 5
application/vnd.ms-excel
Sample:
PK -�D[k�& � 5 xl/workbook.xml � (� ����0D�&�C���@")��x��}-�m�-ik��-H�yۙ�};|��Zۓ��/]Eecɘ5����]g���{1�uJ`c�[� ,=��p����R����X~t���A+J�2�>�s����/2[��$l ��_`�Ţ��m %�sk+�P�J���K�Az-Z!�<����a�m��/PK -�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 -�D[j~��' ' _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="Rbb18f63ec5804aba" /></Relationships>PK -�D[?��� � xl/worksheets/sheet1.xml � (� ��Ao�0�� �}���@Tm�4�M;lg&��Nҟ?�0Z0��^��������;z.U+�>�KQ��!g]��C�^�|S ��3x�62�֧ ��lxW(_�xo�j!�B��<@Q�mɷ�<w��#Ġ��B��TӞ�U��Z�$yQ�#t�[��h{��Uk���$�3�l�x0O-���W�i� 7�#��0�^e Y:��n�Cz���Q��=o�6!Q������!:�uŻ}_�J7f�E! �qdNU����q�_���GO>�� �$@ " A�}��>�����_�����O� D��=6ya�'�b�#q���h��g�'$�4"1Ŕ$��x����(�ԸEt�����m�l]�WO�eS|=��� fzF�N��(����'��ijK�9�u 2'^\"�;��s��%ػD4Є3%�?/r�d��K���+�"�d�nY$���,�ޯ t���U���q�Bsi�n��PK -�D[�_^� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b;���N[5� ��{�DM��v���G� XE�Tb�������4����ݿ�y�{���N{ӻ��s���w�*���S$y����� �Qw8�X� ]�XF�rZ:)}R-Ғ1IÜ�Lr�L��������yD�� �WN�CL@�*���)Ez ��T ����VK^�r-�֕���ZL���w>�����^������w��T@�B���i^��+��b��RU�.�j��/v_PK -�D[Ѓ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 -�D[v�<0 � xl/sharedStrings.xml � (� ��OO1ſJӳn 1fw9@N� �`L(ݑ����Y�ooAbt1$<��u��4�[�^!����ݬ�8�+�6_.��W�!IWI�|�٠���U���µ�j�3�%�裕�Ƹ"� k �F�:���R;Δo��}��_~ �.s*�U.���n�T�`=��yu��AE��:TQJ �h�3� �kC���<I)~�g1e��ሠ��@*0�>Y��ͽ�Z]� An��)o�i�����������H`��7Ԯ�n�A�*�H��@�����|������2nW��.g��y�~JK�<E���PK- -�D[k�& � 5 xl/workbook.xmlPK- -�D[���� � � [Content_Types].xmlPK- -�D[j~��' ' U _rels/.relsPK- -�D[?��� � � xl/worksheets/sheet1.xmlPK- -�D[�_^� P � xl/_rels/workbook.xml.relsPK- -�D[Ѓc'2 E > xl/styles.xmlPK- -�D[v�<0 � � xl/sharedStrings.xmlPK � 5