GetAllCreditsFromPanel

Description

Gets all credits for a given panel

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

Parameters

Name Data Type Description

key

string required

The authentication key

panelId

string required

The panel ID

databaseType

DatabaseType required

Production or Test.

Response

Data Type Description

A collection of credits.

Example

//***************************************************
//
// Get all credits from panel
//
//***************************************************

// 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 from panel
PanelistCredit[] allCreditsFromPanel = panelCredit.GetAllCreditsFromPanel(key, panelId, DatabaseType.Production);