Get exception logs

URL: v3/api/logs/exception Method: GET Description : Gets the list of logs Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched sort_order string Optional Sort order `asc` or `desc` sort_field string Optional Field by which results has to be sorted limit string Optional Count of results that are required category_ids array […]

Read More

Get cron logs

URL: v3/api/logs/cron Method: GET Description : Gets the list of logs Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched sort_order string Optional Sort order `asc` or `desc` sort_field string Optional Field by which results has to be sorted limit string Optional Count of results that are required category_ids array […]

Read More

Get mail logs

URL: v3/api/logs/mail Method: GET Description : Gets the list of logs Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched sort_order string Optional Sort order `asc` or `desc` sort_field string Optional Field by which results has to be sorted limit string Optional Count of results that are required category_ids string […]

Read More

Get Log Category List

URL: v3/api/log-category-list Method: GET Description : Gets the list of log categories Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched limit string Optional Count of results that are required   Response: { “success”:true, “data”:{ “log_categories”: [{ “id”:1, “name”:”ticket-create” }, { “id”:2, “name”:”user-create” }, { “id”:3, “name”:”mail-fetch” }, { “id”:4, […]

Read More

Get Mail Body

URL: v3/api/get-log-mail-body/{logId} Method: GET Description : Gets mail body Response: { “success”:true, “data”:{ “mail_body”:”test_body” } }  

Read More

Delete Logs

URL: v3/api/delete-logs Method: DELETE Description : Deletes logs by category Parameters: Parameter Type Optional/Required Description categories array Required Array of logs that has to be deleted. Following are the keys : mail, cron, exception. For eg. [ ‘cron’, ‘exception’] for deleting cron-logs and exception logs delete_before string Optional The time before all logs should be […]

Read More