User Manual

53 | SMSEagle NXS-9700-3G | User’s Manual
login=john&pass=doe&to= %2A101%23
RESPONSE:
Response: OK; ID=[ID of message in outbox]
Sample response: OK; ID=297
Response (when wrong logindata): Invalid login or password
Response (when wrong parameters): Wrong parameters
RESPONSE (XML):
Response:
<xml>
<message_id>[ID of message in outbox]</message_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<message_id>297</message_id>
<status>ok</status>
</xml>
Response (when wrong logindata):
<xml>
<error_text>Invalid login or password</error_text>
<status>error</status>
</xml>
Response (when wrong parameters):
<xml>
<error_text>Wrong parameters</error_text>
<status>error</status>
</xml>
Important notice: You must urlencode USSD code before sending it to gateway. Response from GSM/3G network
will show up in device Inbox folder.
8. Send USSD code: JSONRPC method
HTTP POST METHOD:
https://url-of-smseagle/index.php/jsonrpc/sms