API
http://<server>:<port>/bulksms/bulksms?
username=XXXX&password=YYYYY&type=Y&dlr=Z&destination=QQQQQQQQQ&source=RRRR&message=SSSSSSSS<&url=KKKK>
Parameters are explained below, please note that all the parameters (especially message and
url) should be URL-UTF-8 encoded.
username: User name of the SMPP Account
password: Password of the SMPP Account
type: Indicates the type of message.
Values for "type":-
0: Plain Text (GSM 3.38 Character encoding)
dlr: Indicates whether the client wants delivery report for this message
Range of values for "dlr":-
0: No Delivery report required
1: Delivery report required
destination: Mobile Number to which to Send message to (may or may not include a + sign),
multiple mobile numbers can be separated by commas (note the comma (,) should be URL
encoded).
source: The source address that should appear in the message
Max Length of 18 if Only Numeric
Max Length of 11 if Alpha numeric
If you wish plus (+) should be prefixed to the sender address when the message is displayed
on the cell phone, please prefix the plus sign to your sender address while submitting the message (note the plus sign should be URL encoded). Additional restrictions on this field may be enforced by the SMSC.
message: The message to send (Can be used for long messages, that is, messages longer
than 160 characters for plain text, 140 for flash and 280 for Unicode)For concatenated (long)
messages we will be counting as one message for every 153 characters for plain text and 268
characters for Unicode, as the rest of the characters will be used by the system for packing
extra information for re-assembling the message on the cell phone. In case of WAP Push
(type = 4), this is the text that would appear in the message. Also in the latter case, to send
0 komentar:
Posting Komentar