@ RequestMapping ( value = "/api/profile/{profileIdentifier}/clients/{clientUUID}" , method = RequestMethod . GET ) public @ ResponseBody HashMap < String , Object > getClient ( Model model , @ PathVariable ( "profileIdentifier" ) String profileIdentifier , @ PathVariable ( "clientUUID" ) String clientUUID ) throws Exception { Integer profileId = ControllerUtils . convertProfileIdentifier ( profileIdentifier ) ; HashMap < String , Object > valueHash = new HashMap < String , Object > ( ) ; valueHash . put ( "client" , clientService . findClient ( clientUUID , profileId ) ) ; return valueHash ; }
Returns information for a specific client