DeleteAllCreditsFromPanelistPerSurvey
Description
Delete all credits from a panelist per survey.
Signature
int DeleteAllCreditsFromPanelistPerSurvey(string key, string panelId, int panelistId, string surveyId, 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 |
surveyId |
string required |
The survey ID |
databaseType |
DatabaseType required |
Production or Test. |
Example
//***************************************************
//
// Delete all credits from panelist per survey
//
//***************************************************
// Create instance of the webservice
PanelCreditSoapClient panelCredit = new PanelCreditSoapClient();
// Delete all credits from a specific panelist where the credits are obtained from a specific survey
int numberOfDeletedRows = panelCredit.DeleteAllCreditsFromPanelistPerSurvey(key, panelId, panelistId, surveyId, DatabaseType.Production);