@GET public JSONWithPadding getOrganizationDetails( @Context UriInfo ui, @QueryParam("callback") @DefaultValue("callback") String callback) throws Exception { logger.info("Get details for organization: " + organization.getUuid()); ApiResponse response = createApiResponse(); response.setProperty("organization", management.getOrganizationData(organization)); return new JSONWithPadding(response, callback); }