GET api/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

NameDescriptionTypeAdditional 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

Body Parameters

None.

Response Information

Resource Description

Returns the json if succeed.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.