Grandstream GXV3275 GMI Web Service Guide Uživatelský manuál Strana 28

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 45
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 27
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 27 of 44
ID: "1"
flag: "1"
format: "json"
jsoncallback: "?" (This is the HTTP request for t
he call back
function, usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=removemessage&ID=1&fla
g=1&format=json&jsoncallback=?
Return
1. HTTP request return:
Remove successful
"{"res": "success"}"
Remove failed
"{"res" : "error", "msg" : "remove message failed"}"
Parameters in wrong format (GMI version 9 or newer)
"{"res" : "error", "msg" : "wrong format"}"
saveMessage(callbackFunction)
Description
Save message.xml
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "savemessage"
format: "json"
jsoncallback: "?" (This is the HTTP request for the call back
function, usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=savemessage&format=json
&jsoncallback=?
Return
HTTP request return:
Save successful
"{"res": "success"}"
Note
After HTTP request returns saving successful, users could download
message.xml to the phone using the following link:
http://192.168.121.230/message/message.xml
Zobrazit stránku 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 44 45

Komentáře k této Příručce

Žádné komentáře