GetAllCreditsFromPanelist
Description
Gets all credits for a panelist
Signature
PanelistCredit[] GetAllCreditsFromPanelist(string key, string panelId, int panelistId, DatabaseType databaseType)
Parameters
Name | Data Type | Description |
---|---|---|
key |
string required |
The authentication key |
panelId |
string required |
The panel ID |
panelistId |
int required |
The panelist ID |
databaseType |
DatabaseType required |
Production or Test. |
Example
//***************************************************
//
// Get all credits from panelist
//
//***************************************************
// 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 panelist
PanelistCredit[] allCreditsFromPanelist = panelCredit.GetAllCreditsFromPanelist(key, panelId, panelistId, DatabaseType.Production);