Class QuestionnaireResource


  • @Path("/lumis/service/questionnaire/rest")
    public class QuestionnaireResource
    extends java.lang.Object
    Questionnaire related operations.
    Since:
    8.1.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.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 javax.ws.rs.core.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