Provides the details to add a domain in your network.
The following formats are supported:
URL | http://localhost:7080/oputilsapi/ipam?&key=9a5525a4-d7d4-48aa-96fe-caa5ac524346&v=1&operation=ADD_DOMAIN&format=XML&domainName=sample.in& controllerName=dc-w2k8r2-64&loginName=admin&password=pass |
Parameters | 1. domainName=<domain-name> |
Operation | ADD_DOMAIN |
Success Response | <resource> <status>Success</status> <input> <operation>ADD_DOMAIN</operation> <domainName>domain-name</domainName> <controllerName>WIN2K8MASTER</controllerName> <loginName>amarnath-0642</loginName> </input> </resource> |
Failure Response | <resource> <status>Failure</status> <message>Invalid Domain Controller Name</message> </resource> <resource> <status>Failure</status> <message>Invalid username or password <a href="http://www.manageengine.com/products/oputils/error-adding-domain.html?opt" target="_blank" class="linktxt">Read KB</a></message> </resource> <resource> <status>Failure</status> <message>The domain 'sample.in' already exists</message> </resource> |
URL | http://localhost:7080/oputilsapi/ipam?&key=9a5525a4-d7d4-48aa-96fe-caa5ac524346&v=1&operation=ADD_DOMAIN&format=XML&domainName=sample.in& controllerName=dc-w2k8r2-64&loginName=admin&password=pass |
Parameters | 1. domainName=<domain-name> Example: domainName=domainname.in&controllerName=dc-w2k8r2-64&loginName=admin&password=pass |
Operation | ADD_DOMAIN |
Success Response | { "input":"{subnetAddress=192.168.44.0, subnetMask=255.255.255.0}", "status":"Success" } |
Failure Response | { "message":"Invalid Domain Controller Name", "input":"{domainName=sample.in, controllerName=dc-w2k8r2-641, loginName=admin}", "status":"Failure" } "message":"Invalid username or password <a href=\"http://www.manageengine.com/products/oputils/error-adding-domain.html?opt\" target=\"_blank\" class=\"linktxt\">Read KB<\/a>", "input":"{domainName=sample.in, controllerName=dc-w2k8r2-64, loginName=admin}", "status":"Failure" } "message":"The domain 'domain-name' already exists", "input":"{domainName=domain-name, controllerName=WIN2K8MASTER, loginName=amarnath-0642}", "status":"Failure" } |