API Guide
Table 32. Attributes(continued)
Attribute name Description
ServerPort Port of the directory service.
NetworkTimeOut Network timeout value.
SearchTimeOut Search timeout value.
CertificateValidation Enable or disable certificate validation for the directory service.
CertificateFile Certificate file for authentication.
/api/AccountService/ExternalAccountProvider/Actions/
ExternalAccountProvider.TestADConnection
This URI enables you to test the Directory Service connection.
POST method for ExternalAccountProvider.TestADConnection
This method tests the Active Directory Service connection.
Description Tests the Active Directory Service connection.
Privilege SECURITY_SETUP
HTTP response
codes
200
Example
Example for ServerType: MANUAL
Input:
{
"Name": "Starship",
"ServerType": "MANUAL",
"ServerName": ["10.35.195.1", "10.35.195.2"],
"UserName": "test",
"Password": "test@123",
"ServerPort": 3268,
"NetworkTimeOut": 300,
"SearchTimeOut": 300,
"CertificateValidation": true,
"CertificateFile": “”
}
Output:
{
"Id": 2714,
"Name": "Starship",
"ServerType": "MANUAL",
"ServerName": ["10.35.195.1"],
"UserName": "Admin",
"Password": null,
"ServerPort": 3268,
"NetworkTimeOut": 300,
"SearchTimeOut": 300,
"CertificateValidation": false,
"CertificateFile": null
}
Example for ServerType: DNS
Input:
{
"Name": "AD",
"ServerType": "DNS",
"ServerName": [ ],
"DnsServer":
[
52
Application settings