Package lumis.service.formbuilder
Class FormBuilderResource
- java.lang.Object
-
- lumis.service.formbuilder.FormBuilderResource
-
@Path("/lumis/service/formbuilder/rest/forms/{formId:[A-F0-9]{32}}/answers") public class FormBuilderResource extends java.lang.Object
Form builder related operations.- Since:
- 8.2.0
- Version:
- $Revision: 25279 $ $Date: 2022-10-10 11:50:26 -0300 (Mon, 10 Oct 2022) $
-
-
Constructor Summary
Constructors Constructor Description FormBuilderResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
getAnswersReport(@NotNull java.lang.String formId)
Returns the answers report of the given form.void
postForm(java.lang.String formId, MultivaluedMap<java.lang.String,java.lang.String> formParameters)
-
-
-
Method Detail
-
getAnswersReport
@GET @Path("/report.csv") @Produces("text/csv") public Response getAnswersReport(@PathParam("formId") @NotNull @NotNull java.lang.String formId) throws java.lang.Exception
Returns the answers report of the given form.- Parameters:
formId
- the form identifier.- Returns:
- the answers report of the given form.
- Throws:
java.lang.Exception
- Since:
- 8.2.0
-
postForm
@POST @Consumes("application/x-www-form-urlencoded") @Produces("application/json") public void postForm(@PathParam("formId") java.lang.String formId, MultivaluedMap<java.lang.String,java.lang.String> formParameters) throws PortalException, org.json.simple.parser.ParseException
- Throws:
PortalException
org.json.simple.parser.ParseException
-
-