Sample Url
Response
If Valid Request then the request’s sno. if exists will be given, else the ConnectOne’s generated Id will be given in response.
Ex: 7214669
If invalid request, then the error codes will be given back
Ex: Error-107-Invalid Credential
XML- API
Required Environment
The XML-API allows sending SMS through XML queries allowing acceding to connections configured on ConnectOne from secured networks through firewalls just allowing the outgoing traffic of standard web browsing. Moreover, by using HTTP protocol and XML format for the data representation a quick integration with the client’s application is granted since almost all programming languages have an excellent support for both of them.
To use this XML based API, you need to have a system with Internet connectivity on outbound port (HTTP) (To change the port Unicel’s help would be required). This connectivity may be direct to the Internet, or via a firewall or proxy server.
Sample XML URL Format
The below XML API can be used by Client to send the messages to ‘Connections’ configured on ConnectOne. A sample of the URL could be in the below format
ConnectOne API Parameters Specification
The following table gives a list of ConnectOne XML-API tags that need to be set while creating API calls for distinct message services.
API Advanced Parameters Specification
There are some other parameters that can be used to send the Unicode, Binary and concatenated massages
Sending Message with Advance Parameters
You could use the XML API to submit messages with advance parameters such as DCS, UDHI, Validity Period, Priority etc. Below is a sample of the same.
International Flag
When international flag is set, messages will be processed to international gateway and international commercials for your respective local country will be applicable. The following action would be taken when the Intl parameter is set as ON/OFF and the Destination Number is entered with different length: