YAP API

The YAP API is a TCP/IP socket-based SMS API. This SMS API can be used to send all kinds of message types, including ordinary text, binary, MMS and Unicode messages.

Benefits

  • Fast.
  • Powerful.
  • High throughput.
  • Wide support for message types and features.
  • Send and receive SMS/MMS with the same application. You will also receive status reports, intermediate delivery reports and final delivery reports on the same interface.
  • Can also be used for HLR and credit card transactions.
  • Extended delivery reports with MCC/MNC and revenue/cost information.

Requirements

  • Programming skills. You should know what sockets are and how to use them.
  • Programming language with support for sockets.
  • Server/computer on which to install your script/application.

Example

The client application opens a socket connection to ViaNett's server. This connection should always be online and connected.

Example of a login command:
login_op: refno=1 username=xxxx password=xxxx

Example of a server response:
login_op_ack: ack_code=200 refno=1

Example of a command used to send SMS:
sms_to_op: refno=1 sno=xxxxx msn=xxxxx msg=xxxx 

Please check the YAP API documentation for the exact syntax, or see this code example.

Code Example

The documentation includes a code example (direct link). There is also a downloadable VB 6.0 example code using the YAP API.

Documentation

You will find the YAP API documentation here.

How to start

Sign up with our free online registration. You will get 5 credits for your trial. You can then buy more credits with your credit card. You may also contact sales@vianett.com.


API functions
YAP API functionsYAP
SMS delivery (Bulk SMS)
SMS Two-way SMS
SMS billing
SMS final delivery reports
SMS intermediate delivery reports
Status reports
Extended status reports
MMS delivery/billing
CC Payment
Replypath
Campaign
Multiple connections
Choose route per SMS
High throughput (50/SEC)
Low latency
Required experience for implementationSocket
Alpha numeric sender id
Binary support
Concatenated, split by client
Concatenated, split on server
HLR
API methodYAP
Unicode support
Flash SMS
OTA
Location services
VPN channel encryption
Statistics overview
Statistics details
Message tracking
Message queue status
Message export
Sub accounts