Package lumis.service.questionnaire
Class QuestionnaireResource
- java.lang.Object
-
- lumis.service.questionnaire.QuestionnaireResource
-
@Path("/lumis/service/questionnaire/rest") public class QuestionnaireResource extends java.lang.Object
Questionnaire related operations.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description QuestionnaireResource()
-
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.
-
-
-
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
-
-