Get Ldap Settings

URL : api/ldap/settings Method : GET Response : { “success”:true, “data”:{ “id”:1, “domain”:”domain_name”, “username”:”username@user.com”, “password”:”wrong_password”, “search_bases”:[ {      “id”:1, “ldap_id”:1,      “user_type”:”agent”, “search_base”:”search base”,      “department_ids”:[1,”2″], “organization_ids”:[1,”2″] }, { “id”:2, “ldap_id”:1, “User_type”:”agent”, “search_base”:”search base”, “department_ids”:[1,”2″], “organization_ids”:[1,”2″] } ] } }  

Read More

Post Ldap Settings

URL : api/ldap/settings Method : POST Query Parameters : Parameter Type Optional/Required Description domain string Required Domain of ldap server username string Required username password string Required password Response : { “success”:true, “message”:”Successfully saved” }  

Read More

Post Ldap Search Bases

URL : api/ldap/search-bases Method : POST Query Parameters : Parameter Type Optional/Required Description import boolean Optional Needs to be passed if wants to import users before saving the search bases. Don’t pass(or pass as false) if wants to skip the import part and directly save the search query search_basis array Required Will be an array […]

Read More

Ping Ldap Search Bases

URL : api/ldap/search-bases/ping Method : GET Query Parameters : Parameter Type Optional/Required Description search_base string required Pings Ldap server Response : { “success”:true, “message”:”found x users on the server” }  

Read More

Get Ldap Directory Attributes

URL : api/dependency/ldap-directory-attributes Method : GET Parameters: Parameter Type Optional/Required Description search_query integer Optional Search string page integer Optional Page number sort_field string Optional Order by column. Valid inputs: name, created_at and updated_at sort_order string Optional Order of sorting. Valid inputs: asc & desc limit string Optional Number of records req Response : { “success”: […]

Read More

Post Ldap Directory Attributes

URL : api/ldap/ldap-directory-attribute Method : POST Parameters: Parameter Type Optional/Required Description id integer Required Id of the record(0 in case of new record) name string Required Name of the attribute Response: { “success”: true, “message”: “Successfully Saved” }  

Read More