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 […]
Articles Tagged: v3
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” }
Change ticket department
URL : v3/api/ticket/change-department Method : POST Query Parameters : Parameter Type Optional/Required Description ticket-id integer Required Ticket id of current ticket dept-id integer Required Id of new department Response : { “success”:true, “Message”:”Ticket department changed successfully” }
Change ticket due-date
URL : v3/api/ticket/change-duedate Method : POST Query Parameters : Parameter Type Optional/Required Description ticket-id integer Required Ticket id of current ticket duedate string Required The new due date. Due date must be sent as string in y-m-d hh:mm:ss format in agent’s timezone Response : { “success”:true, “Message”:”Ticket duedate changed successfully” }
Get action list ( functionality which is allowed to a logged in agent )
URL : v3/api/agent/action-list Method : GET Query Parameters : None Response : { “success”:true, “data”:{ “actions”:{ “assign”:true, “transfer”:true, “edit”:true, “reassign”:true, “change_duedate”:true, “ban”:true, “Has_calender”:true //for task list } } }
Get form data
URL : v3/api/get-form-data Method : GET Query Parameters : Parameter Type Possible values Optional/Required Description category string ticket, user, organisation, asset, change Required It is the category of the form which has to be fetched Response : { “success”:true, “data”:{ “form_fields”:[ { “id”:1, “title”:”title”, “pattern”:””,//any regex pattern “sort_order”:1, “type”:”email”, “required_for_agent”:1, “required_for_user”:1, “display_for_agent”:1, “display_for_user”:1, “default”:1, “media_option”:”0″, […]
Post form data (will only be used by admin panel)
URL : v3/api/post-form-data Method : POST Query Parameters : None Body Parameters : Parameter Type Possible values Optional/Required Description category string ticket, user, organisation Required It is the category of the form which has to be fetched form-fields array Array of objects Required Form fields which are updated or newly created. Please read below for […]