Class QuestionnaireResource


  • @Path("/lumis/service/questionnaire/rest")
    public class QuestionnaireResource
    extends Object
    Questionnaire related operations.
    Since:
    8.1.0
    Version:
    $Revision: 21508 $ $Date: 2018-07-11 14:11:07 -0300 (Wed, 11 Jul 2018) $
    • Constructor Detail

      • QuestionnaireResource

        public QuestionnaireResource()
    • Method Detail

      • getAnswersReport

        @GET
        @Path("/questionnaires/{questionnaireId:[A-F0-9]{32}}/answers/report.csv")
        @Produces("text/csv")
        public Response getAnswersReport​(@PathParam("questionnaireId") @NotNull
                                         String questionnaireId)
                                  throws Exception
        Returns the answers report of the given questionnaire in the required format.
        Parameters:
        questionnaireId - the questionnaire identifier.
        format - the desired report format.
        Returns:
        the answers report of the given questionnaire in the required format.
        Throws:
        PortalException
        Exception
        Since:
        8.1.0