POST api/webhooks/registrations
Request Information
URI Parameters
None.
Body Parameters
WebHook| Name | 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
WebHook| Name | 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>