Grandstream GXV3275 GMI Web Service Guide Manual de usuario Pagina 7

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 6
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 6 of 44
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=pn&format=json&jsoncallback
=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "pn": "9620001902A"}"
Return failed
"{"res": "error", "msg" : "can't get pn version"}"
2. callbackFunction(data) will process the data ret
urned from HTTP
request
getHardware(callbackFunction)
Description
Retrieve
GXV3240/GXV3275 Hardware version
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "hardware"
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=hardware&format=json&jsonca
llback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "hardware": "V2.0A"}"
Return failed
"{"res": "error", "msg" : "can't get hardware version"}"
2. callbackFunction(data) will process the data returned from HTTP
request
getVendor(callbackFuntion)
Description
Retrieve GXV3240/GXV3275 vendor information
(login is not required)
Parameters
callbackFunction: Call back function
Vista de pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 44 45

Comentarios a estos manuales

Sin comentarios