93
| SMSEagle MHD-8100
| User’s Manual
8. Send USSD code: JSONRPC method
HTTP POST METHOD:
https://url-of-smseagle/jsonrpc/sms
Parameters:
Parameter
Description
access_token
authentication access token (see details in point API Authentication)
login
your user to login to SMSEagle (see details in point API Authentication)
pass
your password to login to SMSEagle
to
USSD code
modem_no
(optional parameter)
sending modem number (only for multimodem devices)
responsetype
(optional parameter)
text = format response as text (default), xml = format
response as XML object
SAMPLE BODY:
{"method":"sms.send_ussd",
"params":{"access_token":"0005gOjCOlMH8F2x","to":"*101#″}}
RESPONSE:
Response:
{"result": "OK; ID=[ID of message in outbox]"}
Sample response:
{"result": "OK; ID=297"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong access token):
{"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
{"result": {"message_id":"[ID of message in outbox]","status":"ok"}}
Sample response:
{"result": {"message_id":"748","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong access token):
{"result": {"error_text":"Invalid access token","status":"error"}}
Response (when wrong parameters):
{"result": {"error_text":"Wrong parameters","status":"error"}}
Important notice:
Response from cellular network will show up in device Inbox folder.
Содержание MHD-8100-3G
Страница 1: ...SMSEAGLE MHD 8100 3G MHD 8100 4G User s Manual ...
Страница 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I ...
Страница 21: ...21 SMSEagle MHD 8100 User s Manual USING OF SMSEAGLE II ...
Страница 76: ...76 SMSEagle MHD 8100 User s Manual Screenshot from Blacklist Define STOP word feature ...
Страница 207: ...207 SMSEagle MHD 8100 User s Manual TROUBLESHOOTING I I I I I I ...
Страница 210: ...210 SMSEagle MHD 8100 User s Manual SERVICE REPAIR IV I ...
Страница 212: ...212 SMSEagle MHD 8100 User s Manual TECH SPECS SAFETY INFORMATION V I ...