Grandstream GXV3275 GMI Web Service Guide Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 20 of 44
0------No
1------Yes
7. fileType: File Format
0------XML
1------Vcard
2------CSV
Http Request Phone Download Operation:
URL: "http://"+ ip + "/manager?"
action: "putdownphbk"
flag: "1" (Save the configuration and download phonebook)
downMode: "2" (Download mode. 0: OFF, 1: TFTP, 2: HTTP)
downUrl: Download phonebook URL
downInterval: "0" (0: no automatic download)
downReplace: "0" (replace duplicate items, 0: No, 1: Yes)
downClear: "1" (clear old list, 0: No, 1: Yes)
downEncode: "UTF-8" (phonebook file encoding format)
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=putdownphbk&flag=1downM
ode=2&downUrl=http://192.168.121.29/WebService/Phonebook.xml&
downInterval=0&downReplace=0&downClear=1&downEncode=UTF-8
&downtype=0&format=json&jsoncallback=?
Return
1. HTTP request return:
Phonebook configuration saved
"{"res": "success", "flag":"1"}"
Phonebook configuration cannot be saved
"{"res" : "error", "msg" : "configuration file not found"}"
GXV3240/GXV3275 is rebooting
"{"res": "error", "msg" : "phone rebooting"}"
2.
callbackFunction(data) will process the data returned from HTTP
request
Note
In the HTTP request, if flag=1, when the phone is downloading and
importing phonebook, users could send HTTP request to check if
the downloading/importing is done.
For example:
http://192.168.121.230/manager?action=phbkresponse&format=js
on
Return:
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 44 45

Comentarios a estos manuales

Sin comentarios