This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Working with Users in JotForm
The
operation retrieves all submissions for all the forms belonging to the account. getUserSubmissions
<jotform.getUserSubmissions> <limit>{$ctx:limit}</limit> <orderBy>{$ctx:orderBy}</orderBy> <offset>{$ctx:offset}</offset> <filter>{$ctx:filter}</filter> </jotform.getUserSubmissions>
Properties
The number of results in each result set for submission data.limit:
The order value in which the results are ordered.orderBy:
The page value of each result set for submission data.offset:
The query results to fetch a specific submissions range.filter:
Sample request
Following is a sample REST/JSON request that can be handled by the getUserSubmissions
operation.
{ "apiUrl" : "https://api.jotform.com", "apiKey" : "f71e12ef09ef7941b8b19b80e5173d26", "offset" : "0", "limit" : "2", "orderBy" : "id" }
Note
There are optional parameters available. For more information on the usage of these parameters please check the API document.
Related JotForm documentation
http://api.jotform.com/docs/#user-submissions
Sample configuration
Following is a sample proxy service that illustrates how to connect to JotForm with the init
operation and use the getUserSubmissions
operation. The sample request for this proxy can be found in the getUserSubmissions sample request.
<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="jotform_getUserSubmissions" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="apiUrl" expression="json-eval($.apiUrl)"/> <property name="apiKey" expression="json-eval($.apiKey)"/> <property name="limit" expression="json-eval($.limit)"/> <property name="orderBy" expression="json-eval($.orderBy)"/> <property name="offset" expression="json-eval($.offset)"/> <property name="filter" expression="json-eval($.filter)"/> <jotform.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <apiKey>{$ctx:apiKey}</apiKey> </jotform.init> <jotform.getUserSubmissions> <limit>{$ctx:limit}</limit> <orderBy>{$ctx:orderBy}</orderBy> <offset>{$ctx:offset}</offset> <filter>{$ctx:filter}</filter> </jotform.getUserSubmissions> <respond/> </inSequence> <outSequence> <send/> </outSequence> </target> <description/> </proxy>