URL : v3/api/admin/approval-workflow Method : POST Parameters: Parameter Type Optional/Required Description id Integer Optional Approval workflow id. Required for update. Id integer 0 indicates create operation. name string Required Approval workflow name. Max 255 char. Unique. levels array Required Approval workflow levels. Must be an associative array with level data. Levels: Parameter Type Optional/Required […]
Articles Tagged: v3
Approval Workflow Delete
URL : v3/api/admin/approval-workflow/{id}/{type} Method : DELETE Segment: Parameter Type Optional/Required Description id Integer Required Approval workflow id / Level id type string Required Deletion type workflow / level Parameters: none Response: { “success”: true, “message”: “Approval workflow removed” } or { “success”: true, “message”: “Workflow level removed” }
Get Approval Workflow Status
URL: v3/api/ticket-approval-status/{ticket-id} Method: GET Description : Gets the details of all the approval workflow applied to the ticket and their current status Success Response: { “success”: true, “data”: [ { “id”: 224 “approval_workflow_id”: “194”, “name”: “test_workflow”, “ticket_id”: 417, “created_at”: “2018-10-11 10:01:55”, “updated_at”: “2018-10-11 10:01:55”, “approval_levels”: [ { “id”: 486 “status”: “PENDING”, “is_active”: 1, […]
Get Ldap Settings
URL : v3/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″] } ] } }
Post Ldap Settings
URL : v3/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” }
Post Ldap Search Bases
URL : v3/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 […]
Ping Ldap Search Bases
URL : v3/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” }
Get Ldap Directory Attributes
URL : v3/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”: […]
Post Ldap Directory Attributes
URL : v3/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” }
Delete Ldap Directory Attributes
URL : v3/api/ldap/ldap-directory-attribute/{id} (id of the record to be deleted) Method : DELETE Response: { “success”: true, “message”: “Delete Successfully” }