@ GET @ Path ( "/{installationID}" ) @ Produces ( MediaType . APPLICATION_JSON ) public Response findInstallation ( @ PathParam ( "variantID" ) String variantId , @ PathParam ( "installationID" ) String installationId ) { Installation installation = clientInstallationService . findById ( installationId ) ; if ( installation == null ) { return Response . status ( Response . Status . NOT_FOUND ) . entity ( "Could not find requested Installation" ) . build ( ) ; } return Response . ok ( installation ) . build ( ) ; }
Get Installation of specified Variant