POST api/Integrations/Webhook/Upsert
Request Information
URI Parameters
None.
Body Parameters
CustomerWebhookSettingsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| webhook_url | string |
None. |
|
| is_active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"webhook_url": "sample string 1",
"is_active": true
}
application/xml, text/xml
Sample:
<CustomerWebhookSettingsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WatiflyCloneAPI.Models.DTOs.Integrations"> <is_active>true</is_active> <webhook_url>sample string 1</webhook_url> </CustomerWebhookSettingsDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |