MMS & SMS
It is possible to send and receive MMS and SMS messages by using the HTTP protocol.
Sending messages is done by sending the required parameters to the relevant script on Vianett's server as HTTP GET or HTTP POST requests. The scripts will then attempt to send the messages, and return an XML response to the requests in order to give feedback as to whether operations have been successfully completed.
Receiving messages is done by writing scripts receiving the required parameters as HTTP GET or HTTP POST requests. The scripts can then process these values according to the customer's wishes. The scripts have to be implemented so that they return a response in XML format.
The following paragraphs contain examples of how the scripts are used with HTTP GET requests when sending and receiving SMS and MMS messages, with examples of how their XML responses look like. In addition, there are descriptions of the fields which make up the various parameters to the scripts. For additional information, see the page field descriptions.
|