Question T4618
Visible to All Users

Delete a single result through API

created 4 years ago (modified 4 years ago)

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

Answers approved by surveyjs Support

created 4 years ago

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

    Comments (1)

      OK Thanks. Got it.