To get specific fields from a form input, we can create a form that will filter the field for us, to do that, we need to do the following steps:
Create a Form
The first step is create a new form, this form must have the necessary information to make the call, the required fields are:
- Company ID: This ID is get in Organization & Users -> Integrations
- Integration Key: Allow us to make call through the Amplus Forms API, this keyis get in Organization & Users -> Integrations.
- Form ID or Form External ID: For this option we can choose between two options the first one allow us to get all the form entry for a specific version of the form instead of the Form External ID that allow us to get all the versions of a form.
All this IDs and keys can be stored in hidden fields to avoid show unnecessary information to the user of the form.
Specify the API Call
https://amplus.mobileform.net:443/api/v2/formentry/search?CompanyId=<CompanyID>&IntegrationKey=<IntegrationKey>&FormExternalId=<FormExternlID>&FormVersion=<FormVersion>&FormId=<FormID>&FromDate=<FromDate>&ToDate=<ToDate>&AnswerFormat=Flat&MediaAsUrl=true&Fields=<Field-1>%2C<Field-2>%2C<Field-N>&PageNo=<PageNo>&PageSize=<PageSize>