beautypg.com

Index, Overview, Gmi web service interface – Grandstream GXP2200 GMI Web Service Guide User Manual

Page 2

background image

GXP2200 GMI WEB SERVICE GUIDE V1.0

Page 1 of 38

Index

OVERVIEW ................................................................................................ 3

GMI WEB SERVICE INTERFACE .............................................................. 4

1. webServiceLogin(ip, username, password, callbackFunction) ......................................................... 4

2. getUptime(callbackFunction) ............................................................................................................. 5

3. getPN(callbackFunction) ................................................................................................................... 5

4. getHardware(callbackFunction) ......................................................................................................... 6

5. getVendor(callbackFunction) ............................................................................................................. 7

6. getProduct(callbackFunction) ............................................................................................................ 7

7. getProductInfo(callbackFunction) ...................................................................................................... 8

8. originateCall(account, isvideo isdialplan, destnum, headerstring, callbackFunction) ....................... 8

9. getNetworkInfo(callbackFunction) ..................................................................................................... 9

10. getAccountInfo(callbackFunction) ................................................................................................. 10

11. getGroup(gpID, callbackFunction) ................................................................................................. 10

12. getContact(ctID, gpID, ctName, callbackFunction) ....................................................................... 11

13. getGroupCount(callbackFunction) ................................................................................................. 12

14. getContactCount(callbackFunction) .............................................................................................. 13

15. setGroup(phbkGroup, callbackFunction)....................................................................................... 13

16. setContact(phbkContact, callbackFunction) .................................................................................. 14

17. removeContact(ctID, callbackFunction) ........................................................................................ 16

18. clearGroup(gpID, callbackFunction) .............................................................................................. 16

19. removeGroup(gpID, callbackFunction) .......................................................................................... 17

20. moveToDefault(ctID, callbackFunction) ......................................................................................... 18

21. downloadPhonebook(phbkConfigure, flag, callbackFunction) ...................................................... 19

22. setPhonebook(phbkConfigure, flag, callbackFunction) ................................................................. 21

23. getMessage(id, callFunction) ........................................................................................................ 23

24. setNewMessage(num, account, text, flag, callbackFunction) ....................................................... 24

25. sendDraftMessage(id, callbackFunction) ...................................................................................... 24

26. removeMessage(id, flag, callbackFunction) .................................................................................. 25

27. saveMessage(callbackFunction) ................................................................................................... 26

28. getLastCall(type, callbackFunction) .............................................................................................. 26

29. removeCall(id, flag, callbackFunction) .......................................................................................... 27

30. saveCallHistory(callbackFunction) ................................................................................................ 28

31. setUpgrade(upgradeConf, reboot, callbackFunction) ................................................................... 28

32. setParameter(confItem[ ], callbackFunction) ................................................................................. 31

33. getParameter(confItem[ ], callbackFunction)................................................................................. 32