GET https://api.surveyjs.io/public/Survey/getSurveyAndIsCompleted?surveyId={surveyId}&clientId={clientId}
Returns the survey Json and isCompleted status as {survey: {Json}, isCompleted: "status"}. It can be used to load the survey from the service and check if the user completed the survey already by one request.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId |
A survey unique indentificator.
|
globally unique identifier |
Required
|
clientId |
You client indentificator. It can be e-mail or user login. You should use it in the Post survey result method.
|
string |
Required
|
Response Information
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.