Bulk interface
Interface for customers who want to send a large number of messages in one batch. Just store all your messages in a text file and upload the file to ViaNett. The file will be handled automatically and all messages will be sent. The upload interface is FTP.
Syntax:
One message
#|#msgid#|#fromnr#|#fromalpha#|#teleop#|#tel#|#msg#|#nrq#|#priority#EOR#
Two messages
#|#msgid#|#fromnr#|#fromalpha#|#teleop#|#tel#|#msg#|#nrq#|#priority#EOR##|#msgid#|#fromnr#|#fromalpha#|#teleop#|#tel#|#msg#|#nrq#|#priority#EOR#
#|# - Field separator
#EOR# - Record separator
Field definitions:
msgid: your unique message id per message
fromnr: The sender number in numeric format
fromalpha: The sender number in alphanumeric format (fromnr will be ignored if this value is set)
teleop: Use the value 0
tel: the MSISDN number
msg: The message (Messages > 160 characters are allowed)
nrq: Notification request wanted (0 or 1)
priority: (0 or 1)
Example with two messages: (NB: No line breaks)
#|#1#|#1963#|#ViaNett#|#2#|#4791748750#|#This is a test with delivery and high priority#|#1#|#1#EOR##|#2#|#1963#|#ViaNett#|#2#|#4791748750#|#This is a test without delivery and with low priority#|#0#|#0#EOR#
Filename format:
bulkinserttype_transaction number_username_password.txt
bulkinserttype should normally be "2"
transaction number must always be an unique number. All duplicates will be rejected. We can provide you with several username and passwords if you want to have different statistics on different kind of traffic.
To schedule messages using bulkinsert, use the following filename format (NB: Timestamp is in CET)
4_transaction number_username_password_timestamp_interval.txt
4_transaction number_username_password_YYMMDDHHMM_SS.txt
For example:
4_1_username_password_0812241715_60.txt
This example will start the send out on December 24 2008 at 17:15 CET, with an interval of 60 seconds.
We will automatically send you an email with the status of the bulk transaction. You will also receive a delivery report for each message if you want that. The delivery report will be sent with our ordinary interfaces (for example Java, HTTP, Visual Basic etc).
Please contact ViaNett if you want to use this interface.
Print the article