Support
 
Phone Live Chat
 
Support
 
US: +1 888 720 9500
US: +1 800 443 6694
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9393

 
 
 
 
 
Get - List Domains
 

List Domains API

This API helps fetch details of domains configured in ADManager Plus

Request URL (JSON) format: http://<hostname>:<port>/RestAPI/GetDomainList

Request parameters:

Following are the request parameters that can be used in the request:

Parameter name Mandatory Description
PRODUCT_NAME Yes Product name/module name from which the request is being sent; will be needed for auditing.
AuthToken Yes Authentication token obtained using the Generate AuthToken API.
domainName Optional (If not given, it will return all the configured domain details) The domain name for which details need to be retrieved.

Response:

The response will be a JSON array string which contains the list of JSON objects. Each JSON object in the list represents the domains configured in ADManager Plus. Each object will contain the following properties.

Parameter Name Description
domainList Requested domain details
status 0 or 1, where 1 means success and 0 means failed
statusMessage Contains the appropriate message if an issue/error occurs while processing the request.

Sample request format:

http://admanager:8080/RestAPI/GetDomainList?AuthToken=07dcd0c9-3d7c-42d6-b26b-cdzcsdzcsdzdszv&PRODUCT_NAME=RestAPI

Sample response format:

{"domainList":[{"userName":"Admanager","domainFlatName":"ADMANAGER","domainDisplayName":"admanager.com"},{"domainFlatName":"DOMAINTEST","domainDisplayName":"domaintest.com"}],"statusMessage":"SUCCESS","status":1}

ADManager Plus Trusted By

The one-stop solution to Active Directory Management and Reporting
Email Download Link