AddLdapQueryAsync

Returns (Task)

Create new Ldap Query in the designated Folder.

Name Description
folder
item

Add Ldap Query Async

Example in C#

// Returns: LdapQueryInfo
var ldapQueryInfo = await client.AddLdapQueryAsync(FolderInfo folder, LdapQueryInfo item)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/ldapqueries \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.LdapQueryInfo, Feenics.Keep.WebApi.Model",
                       "HostName":null,
                       "BindPath":null,
                       "Port":0,
                       "UseSsl":false,
                       "UserName":null,
                       "Password":null,
                       "Frequency":0,
                       "Query":null,
                       "PersonFieldsMapping":null,
                       "LastSyncTime":null,
                       "LastUsnChanged":null,
                       "DirSync":null,
                       "PreserveCards":null,
                       "Disabled":null,
                       "Key":null,
                       "CommonName":"QueryExampleFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'