Gets a form submission using a form API key for authentication.
File: get-form-submission.js
REST documentation: GetFormSubmissions
docker build -t <your username>/node-web-app .
docker run --rm --name js-get-form-submission -e "FORM_ALIAS=<your_form_alias>" -e "API_KEY=<your_api_key>" -e "ENVIRONMENT=design" <your username>/node-web-app
node src/get-form-submission.js
The variables you would need to run this example against the design
environment are:
FORM_ALIAS
API_KEY
Please request them from the UIM team. In case you want to move to production
, please request a new set of Form Alias
and API Key
for it.