Grandstream GXV3275 GMI Web Service Guide Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 29 of 44
ID: "1"
flag: "1"
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=removecall&ID=1&flag=1&f
ormat=json&jsoncallback=?
Return
1. HTTP request return:
Remove successful
"{"res": "success"}"
Remove failed
"{"res" : "error", "msg" : "remove call failed"}"
Parameters in wrong format (GMI version 9 or newer)
2. "{"res" : "error", "msg" : "wrong format"}"
saveCallHistory(callbackFunction)
Description
Save callhistory.xml
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "savecallhistory"
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=savecallhistory&format=jso
n&jsoncallback=?
Return
HTTP request return:
Save successful
"{"res": "success"}"
Note
After HTTP request returns saving successful, users could download
callhistory.xml to the phone with the following link:
http://192.168.121.230/callhistory/callhistory.xml
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 44 45

Comentarios a estos manuales

Sin comentarios