Grandstream GXV3275 GMI Web Service Guide Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 12 of 44
contactID: ""
groupID: ""
contactName: ""
format: "json"
usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=getcontact&contactID=&groupI
D=&contactName=&format=json&jsoncallback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "msg":
[{"contactID":"0","contactName":"xxx","groupID":"0","work":"8819","h
ome":"", "mobile":"","fax":"","photo":"","email
{“ontactID”:”1","contactName":"grandstream","groupID":"0","work":"3
587","home":"", "mobile":"","fax":"","photo":"","email":""}]}"
No contacts
"{"res": "error", "msg" : "0"}"
Return failed
"{"res": "error", "msg" : "can't get contacts information"}"
Parameters in wrong format (GMI version 9 or newer)
"{"res": "error", "msg" : "wrong format"}"
2.
request
getGroupCount(callbackFuntion)
Description
Retrieve the number of groups in phonebook
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "getgroupcount"
format: "json"
usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=getgroupcount&format=json&js
oncallback=?
Return
1. HTTP request return:
Return successful
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 44 45

Comentarios a estos manuales

Sin comentarios