Added support for api call to get tasks by category