Table of Contents | ||||
---|---|---|---|---|
|
Overview
The following operations allow you to work with user stories. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with user stories, see Sample configuration.
Operation | Description |
---|---|
Retrieves a specific user story. | |
Working with Users in JotForm | Retrieves all user stories. |
Operation details
This section provides further details on the operations related to user stories.
...
The
operation retrieves a specific user story.getUserStory
The
operation retrieves all submissions for all the forms belonging to the account. getUserSubmissions
Code Block | ||||
---|---|---|---|---|
| ||||
<prodpad.getUserStory>
<userStoryId>{$ctx:userStoryId}</userStoryId>
</prodpad.getUserStory> |
Properties
...
<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:
Anchor | ||||
---|---|---|---|---|
|
Following is a sample REST/JSON request that can be handled by the getUserStory
getUserSubmissions
operation.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "apiUrl" : "https://api.prodpadjotform.com", "apiKey" : "cf7cf38d90568c184d232437c5337de25c0e2b0a1f44d3e0bbe914063d3a9ba8f71e12ef09ef7941b8b19b80e5173d26", "userStoryIdoffset" :509090 } |
Related ProdPad documentation
https://www.prodpad.com/api/get-userstories-id/
...
The
operation retrieves all user stories.listUserStories
Code Block | ||||
---|---|---|---|---|
| ||||
<prodpad.listUserStories>
</prodpad.listUserStories> |
...
Following is a sample REST/JSON request that can be handled by the listUserStories
operation.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "apiUrl":"https://api.prodpad.com "0", "limit" : "2", "filter" : "", "apiKeyorderBy" : "cf7cf38d90568c184d232437c5337de25c0e2b0a1f44d3e0bbe914063d3a9ba8id" } |
Related
...
JotForm documentation
httpshttp://wwwapi.prodpadjotform.com/apidocs/get#user-userstories/submissions
Anchor | ||||
---|---|---|---|---|
|
Following is a sample proxy service that illustrates how to connect to ProdPad JotForm with the init
operation and use the getUserStory
getUserSubmissions
operation. The sample request for this proxy can be found in the getUserStory getUserSubmissions sample request.
Code Block | ||||
---|---|---|---|---|
| ||||
<<<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="prodpadjotform_getUserStorygetUserSubmissions" 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="userStoryId="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($.userStoryIdfilter)"/> <prodpad<jotform.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <apiKey>{$ctx:apiKey}</apiKey> </prodpadjotform.init> <prodpad.getUserStory><jotform.getUserSubmissions> <limit>{$ctx:limit}</limit> <orderBy>{$ctx:orderBy}</orderBy> <offset>{$ctx:offset}</offset> <userStoryId><filter>{$ctx:userStoryIdfilter}</userStoryId>filter> </prodpadjotform.getUserStory>getUserSubmissions> <respond/> </inSequence> <outSequence> <send/> </outSequence> </target> <description/> </proxy> |