Method | Description | |
---|---|---|
AddBatch ( |
Add batch to text broadcast. The add batch API allows the user to add additional batches to an already created text broadcast campaign. The added batch will go through the CallFire validation process, unlike in the recipients version of this API. Because of this, use the scrubDuplicates flag to remove duplicates from your batch. Batches may be added as a contact list id, a list of contact ids, or a list of numbers.
|
|
AddRecipients ( long id, IList |
Use this API to add recipients to an already created text broadcast. Post a list of Recipient objects for them to be immediately added to the text broadcast campaign. These contacts do not go through validation process, and will be acted upon as they are added. Recipients may be added as a list of contact ids, or list of numbers.
|
|
Archive ( long id ) : void |
Archives text broadcast
|
|
Create ( |
Create a text broadcast campaign using the Text Broadcast API. A campaign can be created with no contacts and bare minimum configuration, but contacts will have to be added further on to use the campaign. If start set to true campaign starts immediately
|
|
Find ( |
Find all text broadcasts created by the user. Can query on label, name, and the current running status of the campaign.
|
|
Get ( long id, string fields = null ) : |
Get text broadcast by id
|
|
GetBatches ( GetByIdRequest request ) : Page |
Get text broadcast batches. Retrieve batches associated with text campaign
|
|
GetStats ( long id, string fields = null, System.DateTime begin = null, System.DateTime end = null ) : |
Get statistics on text broadcast
|
|
GetTexts ( |
Get texts associated with text broadcast ordered by date
|
|
Start ( long id ) : void |
Starts text broadcast
|
|
Stop ( long id ) : void |
Stops text broadcast
|
|
Update ( |
Update broadcast
|
Method | Description | |
---|---|---|
GetTexts ( GetByIdRequest request ) : Page |
||
TextBroadcastsApi ( RestApiClient client ) : System |
public AddBatch ( |
||
request | request with contacts | |
return |
public AddRecipients ( long id, IList |
||
id | long | id of text broadcast |
recipients | IList |
recipients to add |
fields | String | limit fields returned. E.g. fields=id,name or fields=items(id,name) |
return | IList |
public Create ( |
||
broadcast | text broadcast to create | |
start | bool | if set to true then broadcast will start immediately, by default it set to false |
return |
public Find ( |
||
request | request object with filtering options | |
return | Page |
public Get ( long id, string fields = null ) : |
||
id | long | id of broadcast |
fields | string | limit fields returned. Example fields=id,message |
return |
public GetBatches ( GetByIdRequest request ) : Page |
||
request | GetByIdRequest | get request |
return | Page |
public GetStats ( long id, string fields = null, System.DateTime begin = null, System.DateTime end = null ) : |
||
id | long | id of text broadcast |
fields | string | limit fields returned. E.g. fields=id,name or fields=items(id,name) |
begin | System.DateTime | begin date to filter |
end | System.DateTime | end date to filter |
return |
public GetTexts ( |
||
request | request with properties to filter | |
return | Page |
public Update ( |
||
broadcast | broadcast to update | |
return | void |