GetAllCreditsFromPanelistPerSurvey

Description

Gets all credits for a panelist

Signature
PanelistCredit[] GetAllCreditsFromPanelistPerSurvey(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.

Response

Data Type Description

A collection of credits.

Example

//***************************************************
//
// Get all credits from panelist per survey
//
//***************************************************

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

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

// Get all credits for a panelist, for a given survey
PanelistCredit[] allCreditsFromPanelistPerSurvey = panelCredit.GetAllCreditsFromPanelistPerSurvey(key, panelId, panelistId, surveyId, DatabaseType.Production);