@GET
@Path("virtual/{catalogCode}/category/")
@Produces(MediaType.APPLICATION_JSON)
public CategoryListPojoResponse categoriesByCatalog(@PathParam("catalogCode") final String catalogCode) {
CategoryListPojoResponse categoryListPojoResponse = new CategoryListPojoResponse();
List<CatalogCategoryPojo> categories = catalogService.getAllVirtualCategories(catalogCode);
categoryListPojoResponse.setCategories(categories);
return categoryListPojoResponse;
}