Method | Description | |
---|---|---|
Create ( |
Create a Subscription for notification in the CallFire system. Use the subscriptions 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 subscription by id
|
|
Find ( |
Find all subscriptions for the user. Search for subscriptions on campaign id, resource, event, from number, to number, or whether they are enabled.
|
|
Get ( long id, string fields = null ) : |
Get subscription by id.
|
|
Update ( |
Update subscription
|
Method | Description | |
---|---|---|
SubscriptionsApi ( RestApiClient client ) : System |
public Create ( |
||
subscription | subscription to create | |
return |
public Find ( |
||
request | request object with different fields to filter | |
return | Page |
public Get ( long id, string fields = null ) : |
||
id | long | id of subscription |
fields | string | limit fields returned. Example fields=id,name |
return |
public Update ( |
||
subscription | subscription to update | |
return | void |