Delete Questionnaire version
To delete a questionnaire version the following DELETE request can be used (available only for ADMIN):
https://pistis-market.eu/srv/intention-analytics/api/questionnaire/:id/:version
The id parameter should be the id of the questionnaire (e.g db469342-d725-4d20-b06d-0ffa6feaeb76), and the version its version (e.g 3).
Server Response
Upon successful deletion a 200 response will be returned (without containing anything further).
In case there are answers connected to the questionnaire version, a 400 Error Response will be returned, with the following message:
You cannot delete the questionnaire, as there are already responses collected
