These APIs allow an admin user to perform domain configuration in Applications Manager. APIs are designed to support GET or POST requests:
Supported HTTP methods: GET, POST
Allowed roles: Administrator
The parameters involved in executing this API request are:
Field | Description |
---|---|
domainname | Name of the domain from which the users need to be imported. |
domaincontroller | The hostname or the IP address of the DNS server for the domain. |
domainport | The port of the DNS server. |
service | OpenLDAP or Active Directory (AD) |
permission | The permission level for a domain. The possible values are:
|
This API allows an admin user to add a new domain in Applications Manager.
For XML Response:
https://[HOST]:[PORT]/AppManager/xml/domain/create?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port ]&service=[ Service ]&permission=[ Permission ]
For JSON Response:
https://[HOST]:[PORT]/AppManager/json/domain/create?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port ]&service=[ Service ]&permission=[ Permission ]
https://apm-prod-server:8443/xml/AppManager/domain/create?apikey=aaaaaabbbbbbccccccddddddeeeeee&domainname=csez.zohocorpin.com&domaincontroller=win2k8master.csez.zohocorpin.com&domainport=389&service=AD&permission=1
This API allows an admin user to edit the existing Domain controller settings added in Applications Manager.
For XML Response:
https://[HOST]:[PORT]/AppManager/xml/domain/update?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller]&domainport=[ Domain Port ]&service=[ Service ]&permission=[ Permission ]
For JSON Response:
https://[HOST]:[PORT]/AppManager/json/domain/update?apikey=[ API Key ]&domainname=[ Domain Name ]&domaincontroller=[ Domain Controller ]&domainport=[ Domain Port ]&service=[ Service ]&permission=[ Permission ]
https://apm-prod-server:8443/AppManager/xml/domain/update?apikey=aaaaaabbbbbbccccccddddddeeeeee&domainname=csez.zohocorpin.com&domaincontroller=win2k8master.csez.zohocorpin.com&domainport=389&service=AD&permission=1
This API allows an admin user to delete domain configurations in Applications Manager.
For XML Response:
https://[HOST]:[PORT]/AppManager/xml/domain/delete?apikey=[ API Key ]&domainname=[ Domain Name ]&TO_DELETE=[ true/false ]
For JSON Response:
https://[HOST]:[PORT]/AppManager/json/domain/delete?apikey=[ API Key ]&domainname=[ Domain Name ]&TO_DELETE=[ true/false ]
https://apm-prod-server:8443/AppManager/xml/domain/delete?apikey=aaaaaabbbbbbccccccddddddeeeeee&domainname=csez.zohocorpin.com&TO_DELETE=true
This API allows an admin user to list down the domains configured in Applications Manager.
For XML Response:
https://[HOST]:[PORT]/AppManager/xml/domain/list?apikey=[ API Key ]
For JSON Response:
https://[HOST]:[PORT]/AppManager/json/domain/list?apikey=[ API Key ]
https://apm-prod-server:8443/AppManager/xml/domain/list?apikey=aaaaaabbbbbbccccccddddddeeeeee