Sends an SMS message to one or more recipients after a given time for a specified duration and sends delivery notification to a client url.
Namespace: Dynmark.Services.WebServicesAssembly: Dynmark.Services.WebServices (in Dynmark.Services.WebServices.dll) Version: 1.0.0.0 (1.0.1.0)
Syntax
| C# |
|---|
public int SendMessagesAfterUntilNotifyWapUnicode( string name, string password, string originator, string text, string[] recipients, string deliveryStatusUrl, string wapUrl, DateTime deliverAfter, DateTime validUntil ) |
| Visual Basic |
|---|
Public Function SendMessagesAfterUntilNotifyWapUnicode ( _ name As String, _ password As String, _ originator As String, _ text As String, _ recipients As String(), _ deliveryStatusUrl As String, _ wapUrl As String, _ deliverAfter As DateTime, _ validUntil As DateTime _ ) As Integer |
| Visual C++ |
|---|
public: int SendMessagesAfterUntilNotifyWapUnicode( String^ name, String^ password, String^ originator, String^ text, array<String^>^ recipients, String^ deliveryStatusUrl, String^ wapUrl, DateTime deliverAfter, DateTime validUntil ) |
Parameters
- name
- Type: System..::..String
User name
- password
- Type: System..::..String
password
- originator
- Type: System..::..String
A string containing the originator value. This can be either: Numeric: between 7-15 characters, permited characters 0-9. or Alphanumeric: between 3-11 characters 0-9, a-z, A-Z, hypen, underscore, fullstop, ampersand, hash, exclamation mark and space. e.g. MAYFLOWER or +447740101097. If no originator is set this will automatically assign a default inbound telephone number so that the recipient may reply to the message.
- text
- Type: System..::..String
Message text (Unicode or normal)
- recipients
- Type: array<System..::..String>[]()[][]
The mobile numbers to send the message to
- deliveryStatusUrl
- Type: System..::..String
Destination url that will receive delivery notifications (can be left blank if not required)
- wapUrl
- Type: System..::..String
WAP url of the message (can be left blank if not required)
- deliverAfter
- Type: System..::..DateTime
Set the date and time after which the delivery of the message should be attempted.
- validUntil
- Type: System..::..DateTime
Set the date and time for which the message should remain valid, i.e. if not fully delivered do not send any non-delivered messages after the specified date.
Return Value
The unique transaction reference for a message that has been sent
Remarks
If the message content has characters outside of the GSM 7-bit character set, note that
1 message credit = 70 characters