Method | Description | |
---|---|---|
Create ( |
Create a Webhook for notification in the CallFire system. Use the webhooks API to receive notifications of important CallFire events. Select the resource to listen to, and then choose the events for that resource to receive notifications on. When an event triggers, a POST will be made to the callback URL with a payload of notification information.
|
|
Delete ( long id ) : void |
Delete webhook by id
|
|
Find ( FindWebhooksRequest request ) : Page |
Find all webhooks for the user. Search for webhooks on name, resource, event, callback URL, or whether they are enabled.
|
|
FindWebhookResource ( ResourceType resource, string fields ) : |
Find specific webhook resource
|
|
FindWebhookResources ( string fields ) : IList |
Find webhook resources
|
|
Get ( long id, string fields = null ) : |
Get webhook by id.
|
|
Update ( |
Update webhook
|
Method | Description | |
---|---|---|
WebhooksApi ( RestApiClient client ) : System.Collections.Generic |
public Create ( |
||
webhook | webhook to create | |
return |
public Find ( FindWebhooksRequest request ) : Page |
||
request | FindWebhooksRequest | request object with different fields to filter |
return | Page |
public FindWebhookResource ( ResourceType resource, string fields ) : |
||
resource | ResourceType | resource type object |
fields | string | |
return |
public FindWebhookResources ( string fields ) : IList |
||
fields | string | limit fields returned. Example fields=id,name |
return | IList |
public Get ( long id, string fields = null ) : |
||
id | long | id of webhook |
fields | string | limit fields returned. Example fields=id,name |
return |
public Update ( |
||
webhook | webhook to update | |
return | void |