Form Documents API
The Form Documents API enables your application to get data from submitted form documents associated with a particular form design that was created using the forms builder.
You can get data from all form documents associated with a particular form design, or you can use the OData filter to narrow the result set.
No changes can be made to form documents with this API.
Filtering the result set
If you don't filter the result set, the API returns data for all form documents associated with all versions of a particular form design.
The OData filter lets you filter the result set using the following attributes: status, formVersion, createDate, submittedDate, approvedDate, and lastUpdatedDate. These attributes are described in the following sections.
Separator to use when specifying multiple attributes: and
|
Filter Attribute |
Description |
|---|---|
|
status |
Includes only versions of form designs that have the specified approval status. Valid status values are:
Operator to use with the status attribute:eq Examples:
|
|
createdDate |
Includes form documents created during a specified date range. Operators to use with the createDate attribute: ge for the "from" date, lt for the "to" date. Example:
Returns form documents submitted during the following date range: On or after July 25, 2016, 11:00AM (PST), and before November 30, 2016, 01:00PM (PST) |
|
submittedDate |
Includes form documents submitted during a specified date range. Operators to use with the submittedDate attribute: ge for the "from" date, lt for the "to" date. |
|
approvedDate |
Includes form documents approved during a specified date range. Operators to use with the approvedDate attribute: ge for the "from" date, lt for the "to" date. |
|
lastUpdatedDate |
Includes form documents last updated on a specified date. Operators to use with the lastUpdatedDate attribute: eq. |
|
formVersion |
Includes form documents associated with a specific version of the form design. You can specify only one version at a time. Operator to use with the formVersion attribute:eq Example:
|