getProduct(callbackFuntion). Grandstream Networks GXV3275, GXV3240

Add to My manuals
41 Pages

advertisement

getProduct(callbackFuntion). Grandstream Networks GXV3275, GXV3240 | Manualzz

Return failed

"{"res": "error", "msg" : "can't get vendor"}"

2. callbackFunction(data) will process the data returned from HTTP request

6. getProduct(callbackFuntion)

Description Retrieve GXV3240/GXV3275 product information

(login is not required)

Parameters

Http Request

Return callbackFunction: Call back function

 url: "http://"+ ip + "/manager?"

 action: "vendor"

 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=product&format=json&jsonc allback=?

1. HTTP request return:

Return successful

"{"res": "success", "product": "GXV3240"}"

"{"res": "success", "product": "GXV3275"}"

Return failed

"{"res": "error", "msg" : "can't get product model"}"

2. callbackFunction(data) will process the data returned from HTTP request

7. getProductInfo(callbackFunction)

Description Retrieve GXV3240/GXV3275 vendor and product information (login is not require). The interface is combined by getVendor and getProduct.

Parameters

Http Request

Return callbackFunction: Call back function

 url: "http://"+ ip + "/manager?"

 action: "productinfo"

 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=productinfo&format=json&js oncallback=?

1. HTTP request return:

Return successful

GXV3240/GXV3275 GMI WEB SERVICE GUIDE V1.9 Page 7 of 40

advertisement

Related manuals

advertisement

Table of contents