I want to know how can i delete a single result through API. This is the API URL i got # GET https://surveyjs.io/api/MySurveys/deleteResult?accessKey={accessKey}&postId={postId}&instanceId={instanceId} the {id} here is the survey id and the accessKey is the Generated Key of the User. So, where is the InstanceID we need to pass to delete a single record because in the survey Result i am not able to see any Instance ID
Delete a single result through API
created 4 years ago
(modified 4 years ago)
Show previous comments
(0)
Comments
(0)
Sign in to comment on this post
Answers approved by surveyjs Support
Hello,
Survey results can be obtained via the https://surveyjs.io/Help/Api/GET-api-MySurveys-getSurveyResults-id_accessKey_from_till?apiType=private&renderType=desktop API endpoint.
It returns an array of survey results. Each array item contains "instanceId" field. It doesn't visible in survey results table.
Thanks, Serge
SurveyJS Team