Grandstream GXV3275 GMI Web Service Guide Instrukcja Użytkownika Strona 7

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 45
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 44 45

Komentarze do niniejszej Instrukcji

Brak uwag