GetSurveyStatus

Description

Get the status of a project.

Signature
SurveyStatusType GetSurveyStatus(string key, string projectId)

Parameters

Name Data Type Description

key

string required

The authentication key

projectId

string required

ID of the project

Response

Data Type Description

The status of the survey

Example

var client = new SurveyDesignSoapClient();

var surveyStatus = client.SetSurveyStatus(clientKey, "p999999999999");

if(surveyStatus == SurveyStatusType.Closed){
    // Survey is closed, do something
}