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/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The getUserSubmissions 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
  • limit: The number of results in each result set for submission data.
  • orderBy: The order value in which the results are ordered.
  • offset: The page value of each result set for submission data.
  • filter: The query results to fetch a specific submissions range.
   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>                    

 

 

  • No labels