GetAllCreditsFromSurvey

Description

Gets all credits for a specific survey in a panel

Signature
PanelistCredit[] GetAllCreditsFromSurvey(string key, string panelId, string surveyId, DatabaseType databaseType)

Parameters

Name Data Type Description

key

string required

The authentication key

panelId

string required

The panel ID

surveyId

string required

The survey ID

databaseType

DatabaseType required

Production or Test.

Response

Data Type Description

A collection of credits.

Example

//***************************************************
//
// Get all credits from survey
//
//***************************************************

// Create instance of the webservice
PanelCreditSoapClient panelCredit = new PanelCreditSoapClient();

// NOTE: Credits will not be available if the respondent has not completed the spesific survey

// Get all credits for a survey
PanelistCredit[] allCreditsFromSurvey = panelCredit.GetAllCreditsFromSurvey(key, panelId, surveyId, DatabaseType.Production);