post
https://saner.secpod.com/AncorWebService/perform
This method allows you to configure AD to an organization in Saner Server. AD configuration could be attained via server or Saner Agent AD integration.
Request must be URL encoded when field SSL is passed. Field ‘usecredential’ and ‘secureldap’ are optional, if value not provided, then default values – true for ‘usecredential’ and false for ‘secureldap’ will be used. Also, ‘usecredential’ field is used during agent integration only.
| Key | Meaning | Mandatory | Data Type |
|---|---|---|---|
| organization | Name of the organization where AD configuration will be added | Yes | string |
| devicename | Device name associated with AD integration | Yes | string |
| integrationtype | Type of integration (server/agent) | Yes | string |
| save | Option to save configuration (yes/no) | Yes | string |
| username | Active Directory username | Yes | string |
| password | Active Directory password | Yes | string |
| domainname | Active Directory domain name | Yes | string |
| ssl | SSL content (must be URL encoded when passed) | Yes | string |
| sslverify | SSL verification option (yes/no) | Yes | string |
| usecredential | Indicates whether credentials are used (default true, agent integration only) | No | string |
| secureldap | Indicates whether secure LDAP is enabled (default false) | No | string |
| mode | Execution mode (auto/manual) | Yes | string |
| schedule | Schedule frequency (daily/weekly/monthly) | Yes | string |
| starttime | Start time of execution (format: HH:MM:AM/PM) | Yes | string |
| monthoftheyear | Month of the year for scheduling (numeric) | Yes | string |
| weekofthemonth | Week of the month for scheduling (numeric) | Yes | string |
| dayoftheweek | Day of the week for scheduling (numeric) | Yes | string |
