Method | Description | |
---|---|---|
CheckCredits ( ) : decimal |
Checks your current credit balance. No further parameters are required. Your credit balance will be returned in the content of the page.
|
|
CheckMessageStatus ( string messageId ) : string |
Checks message status.
|
|
CreateUser ( |
Creates the user.
|
|
DeleteAllContacts ( ) : void |
Deletes all contacts in current account.
|
|
DeleteAllGroups ( ) : void |
Deletes all groups.
|
|
DeleteGroup ( string groupName ) : void |
Deletes the specified group.
|
|
EmptyGroup ( string groupName ) : void |
Removes all contacts from the specified group.
|
|
FastSmsClient ( ) : System.Collections.Generic | ||
FastSmsClient ( string token ) : System.Collections.Generic | ||
FastSmsClient ( string token, IHttpClient httpClient ) : System.Collections.Generic | ||
GetReports ( ReportType reportType, string dateFrom, string dateTo ) : List |
Retrieve the data from a report. The report, in CSV format, will be returned in the content of the page.
|
|
ImportContactsCsv ( List |
Imports contacts in the address book.
|
|
SendMessage ( |
Sends a message. The message ID or error code will be returned in the content of the Page. If multiple numbers are submitted, then multiple IDs / error codes will be returned, separated by commas.
|
|
SendMessage ( |
Sends message to group.
|
|
SendMessage ( |
Sends message to list.
|
|
UpdateCredits ( string childUsername, int quantity ) : void |
Transfers credits to/from a child user.
|
public CheckMessageStatus ( string messageId ) : string | ||
messageId | string | The Message ID of the message that you wish to query. This is the ID returned by the Send action and can also be found in a message report |
return | string |
public CreateUser ( |
||
user | User model to create | |
return | void |
public DeleteGroup ( string groupName ) : void | ||
groupName | string | Group name to delete |
return | void |
public EmptyGroup ( string groupName ) : void | ||
groupName | string | Group name to empty |
return | void |
public FastSmsClient ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public FastSmsClient ( string token ) : System.Collections.Generic | ||
token | string | |
return | System.Collections.Generic |
public FastSmsClient ( string token, IHttpClient httpClient ) : System.Collections.Generic | ||
token | string | |
httpClient | IHttpClient | |
return | System.Collections.Generic |
public GetReports ( ReportType reportType, string dateFrom, string dateTo ) : List |
||
reportType | ReportType | The Type of report. Options are: Outbox (From and To dates are ignored for this report), Messages, Usage, Inbound messages |
dateFrom | string | The start date for the report (YYYYMMDDHHMMSS) |
dateTo | string | The end date for the report (YYYYMMDDHHMMSS) |
return | List |
public ImportContactsCsv ( List |
||
contacts | List |
Contact list |
ignoreDupes | bool | Allow duplicate contacts |
overwriteDupesOne | bool | Ignore dupes |
overwriteDupesTwo | bool | Overwrite duplicate number |
return | List |
public SendMessage ( |
||
messageToUser | Message model | |
return | string |
public SendMessage ( |
||
messageToGroup | Message model for group | |
return | void |
public SendMessage ( |
||
messageToList | Message model for list | |
return | void |
public UpdateCredits ( string childUsername, int quantity ) : void | ||
childUsername | string | Child username |
quantity | int | Quantity of credits |
return | void |