Class QuestionnaireResource


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Response getAnswersReport​(@NotNull java.lang.String questionnaireId)
      Returns the answers report of the given questionnaire in the required format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
                                         @NotNull java.lang.String questionnaireId)
                                  throws java.lang.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
        java.lang.Exception
        Since:
        8.1.0