Submit Survey Data



This recipe will show one method to submit responses for a survey. This will represent a single transaction that contains all responses to all forms in a survey.

The overall process is as follows:

  1. POST /services/survey

POST /services/survey

This method of submitting responses assumes that all data has been collected and will be submitted in a single transaction.

When re-submitting data, be sure to use the same source survey ID (src_id). This, along with the application, is used to determine if this is a new survey or an existing one. When it is an existing one, we invalidate the existing survey and reports and then store the new data (survey raw data and calculated report data).