
GXV3240/3275 GMI Web Service v1.9 User Guide
"{"res": "success", "msg": "3"}"
• Return failed
"{"res": "error", "msg" : "can't get group count"}"
2. callbackFunction(da
ta) will process the data returned from HTTP
request
getContactCount(callbackFuntion)
Description
Retrieve the number of contacts in phonebook
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "getcontactcount"
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=getcontactcount&format=json&j
soncallback=?
Return
:
Return successful
"{"res": "success", "msg": "9"}"
Return failed
"{"res": "error", "msg" : "can't get contact count"}"
2. callbackFunction(data) will process the data returned from HTTP
request
phbkresponse(phbkGroup, callbackFuntion)
Description
• Conf
igure phonebook group information (edit group and add
group)
• Phonebook group structure
PhbkGroup
{
gpID; //Group ID, string
gpName; //Group name, string
}
• If gpID is empty, the group with gpID will be ad
existed, group gpID will be edited.
Comentarios a estos manuales