POST api/webhook/create/{triggerName}
Creates a new webhook in the system (scoped to agency)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
triggerName |
Name of the trigger. |
string |
Required |
Body Parameters
Webhook callback details
Dezrez.Core.DataContracts.External.Api.Webhook.CreateWebhookDataContractName | Description | Type | Additional information |
---|---|---|---|
WebhookUrl | string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "WebhookUrl": "sample string 1" }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |