Grandstream GXV3275 GMI Web Service Guide Manual do Utilizador Página 8

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 45
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 7
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 7 of 44
Http Request
URL: "http://"+ ip + "/manager?"
action: "vendor"
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=vendor&format=json&jsonca
llback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "vendor": "Grandstream Networks, Inc."}"
Return failed
"{"res": "error", "msg" : "can't get vendor"}"
2. callback
Function(data) will process the data returned from HTTP
request
getProduct(callbackFuntion)
Description
Retrieve GXV3240/GXV3275 product information
(login is not required)
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "vendor"
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=product&format=json&jsonc
allback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "product": "GXV3240"}"
"{"res": "success", "product": "GXV3275"}"
Return failed
"{"res": "error", "msg" : "can't get product model"}"
2. callbackFunction(data) will process the data returned from HTTP
request
Vista de página 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 44 45

Comentários a estes Manuais

Sem comentários