Difference between revisions of "Send HTTPS"
Line 2: | Line 2: | ||
− | For quick implementation you can use HTTPS method to send SMS messages. | + | For quick implementation you can use HTTPS method to send SMS messages. To send, create a string similar to the one below and execute it from your application. |
Line 9: | Line 9: | ||
Explanation of parameters | Explanation of parameters | ||
− | Token and signature are used for | + | Token and signature are used for authentication. You need to obtain token and signature only once. Here is how |
recipient - number to which you are sending the message in International format. For example, a US number would be 12125555555 | recipient - number to which you are sending the message in International format. For example, a US number would be 12125555555 | ||
Line 15: | Line 15: | ||
Message - text of message you want to send (max 160 characters) | Message - text of message you want to send (max 160 characters) | ||
− | encoding: Use Seven for ASCII, Sixteen if you are sending UNICODE text (in this case max text | + | encoding: Use Seven for ASCII, Sixteen if you are sending UNICODE text (in this case max text length is 70 characters) |
Revision as of 16:25, 6 May 2011
Send SMS from your application using HTTPS
For quick implementation you can use HTTPS method to send SMS messages. To send, create a string similar to the one below and execute it from your application.
https: // secureapi.upsidewireless.com/soap/SMS.asmx/Send_Plain?token=w222222-8e4b-405b-998c-a580bf593b76&signature=444444444/yvg6bwEHqBhlc&recipient=17785550767&message=Hello World&encoding=Seven
Explanation of parameters
Token and signature are used for authentication. You need to obtain token and signature only once. Here is how
recipient - number to which you are sending the message in International format. For example, a US number would be 12125555555
Message - text of message you want to send (max 160 characters)
encoding: Use Seven for ASCII, Sixteen if you are sending UNICODE text (in this case max text length is 70 characters)
Result string will be similar to this:
<SMSSendResult>
<isOk>true</isOk>
<trackingId>MTID355136276238353223</trackingId>
<number>17788580767</number>
<convertedNumber>+17788580767</convertedNumber>
<deferUntilOccursInThePast>false</deferUntilOccursInThePast>
<messageIsEmpty>false</messageIsEmpty>
<tooManyMessages>false</tooManyMessages>
<invalidCountryCode>false</invalidCountryCode>
<isBlocked>false</isBlocked>
<balanceIsZero>false</balanceIsZero>
<invalidCarrierCode>false</invalidCarrierCode>
</SMSSendResult>