The
operation retrieves all submissions for all the forms belonging to the account. getUserSubmissions
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.
Sample Request for getUserSubmissions
{ "apiUrl" : "https://api.jotform.com", "apiKey" : "f71e12ef09ef7941b8b19b80e5173d26", "offset" : "0", "limit" : "2", "filter" : "", "orderBy" : "id" }
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.
Sample Proxy
<<?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>