GetTaskPercentageCompleted

Description

Gets percent completed of a task

Signature
short GetTaskPercentageCompleted(string key, long taskId)

Parameters

Name Data Type Description

key

string required

The authentication key

taskId

long required

The task ID

Response

Data Type Description

short

Example

//***************************************************
//
// Get Task Percentage Completed
//
//***************************************************

// Create instance of the webservice
SurveyDeployerSoapClient surveyDeployer = new SurveyDeployerSoapClient();

// Get the percentage completed of a specific task
short pctComplete = surveyDeployer.GetTaskPercentageCompleted(key,taskID);