这些API允许管理员用户在Applications Manager中执行域配置。API旨在支持GET或POST请求:
执行此API请求所涉及的参数包括:
字段 | 描述 |
---|---|
domainname * | 需要从中导入用户的域的名称。 |
domaincontroller * | 域的DNS服务器的主机名或IP地址。 |
domainport * | DNS服务器的端口。 |
service * | OpenLDAP或Active Directory(AD) |
permission | 域的权限级别。可能的值为:
|
该API允许管理员用户在Applications Manager中添加新域。
对于XML响应:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/domain?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port]&service=[ Service ]&permission=[ Permission ]
对于JSON响应:
http://[ APM Host ]:[ APM Port ]/AppManager/json/domain?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port]&service=[ Service ]&permission=[ Permission ]
http://app-windows:59090/xml/AppManager/domain?apikey=16c220b3145cb34b1163cc81237e4fd0&domainname=csez.zohocorpin.com&domaincontroller=win2k8master.csez.zohocorpin.com&domainport=389&username=zohocorp\user-0596&service=AD&permission=1
该API允许管理员用户编辑添加到Applications Manager中的现有域控制器设置。
对于XML响应:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/domain?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port]&service=[ Service ]&permission=[ Permission ]
对于JSON响应:
http://[ APM Host ]:[ APM Port ]/AppManager/json/domain?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port]&service=[ Service ]&permission=[ Permission ]
http://app-windows:59090/AppManager/xml/domain?apikey=16c220b3145cb34b1163cc81237e4fd0&domainname=csez.zohocorpin.com&domaincontroller=win2k8master.csez.zohocorpin.com&domainport=389&service=ad&permission=1
该API允许管理员用户在Applications Manager中删除域配置。
对于XML响应:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/domain?apikey=[ API Key ]&domainname=[ Domain Name ]&TO_DELETE=[ True/False ]
对于JSON响应:
http://[ APM Host ]:[ APM Port ]/AppManager/json/domain?apikey=[ API Key ]&domainname=[ Domain Name ]&TO_DELETE=[ True/False ]
http://app-windows:59090/AppManager/xml/domain?apikey=16c220b3145cb34b1163cc81237e4fd0&domainname=csez.zohocorpin.com&TO_DELETE=true
该API允许管理员用户列出在Applications Manager中配置的域。
对于XML响应:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/domain?apikey=[ API Key ]
对于JSON响应:
http://[ APM Host ]:[ APM Port ]/AppManager/json/domain?apikey=[ API Key ]
http://app-windows:59090/AppManager/xml/domain?apikey=bfb8a60112560c40418e6f0bb37be874