Grandstream GXV3275 GMI Web Service Guide Manual de usuario Pagina 12

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 11
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 11 of 44
groupID: ""
format: "json"
usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=getgroup&groupID=&format=js
on&jsoncallback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "msg":
{"groupID":"100","groupName":"blacklist"}]}"
No groups
"{"res": "error", "msg" : "0"}"
Return failed
"{"res": "error", "msg" : "can't get groups information"}"
Parameters in wrong format (GMI version 9 or newer)
"{"res": "error", "msg" : "wrong format"}"
2.
request
Note:
When using this interface, if the interface amount is greater than 12, i
will be exported into text format stored in the phone.
getContact(ctID, gpID, ctName, callbackFuntion)
Description
1. Retrieve contact information
If ctID is specified but ctName is empty, return the contact ctID
If ctName is specified, return the con
in its name field
contacts in group gpID
If ctID, ctName and gpID are empty, return all contacts
2. Before using getContact interface, users could get the numb
contacts by getContactCount
more than 20, it is recommended to use setPhonebook
instead of getContact interface.
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
Vista de pagina 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 44 45

Comentarios a estos manuales

Sin comentarios