class TaggingController implements Constants {

    @RequestMapping(path = "/v1/tagging/summarybyapplication", method = RequestMethod.POST)
    @ResponseBody
    
    public ResponseEntity<Object> getUntaggedAssetsByApp(@RequestBody(required = false) Request request) {
        String assetGroup = request.getAg();
        if (Strings.isNullOrEmpty(assetGroup)) {
            return ResponseUtils.buildFailureResponse(new Exception(ASSET_MANDATORY));
        }
        ResponseWithCount response = null;
        try {
            response = taggingService.getUnTaggedAssetsByApplication(request);

        } catch (ServiceException e) {
            return complianceService.formatException(e);
        }
        return ResponseUtils.buildSucessResponse(response);
    }

}