GetPanelistId

Description

Gets the panelist id for a panelist by querying the panel database with the provided field names and values.

Signature
int GetPanelistId(string key, string panelProjectId, string[] fieldNames, string[] fieldValues)

Parameters

Name Data Type Description

key

string required

The authentication key

panelProjectId

string required

The project id of the panel

fieldNames

string[ ] required

fieldValues

string[ ] required

Response

Data Type Description

int

The panelist ID corresponding to the combinations of fieldNames and fieldsValues

Example

var communityPanelSoapClient = new CommunityPanelSoapClient();

var panelistId = communityPanelSoapClient.GetPanelistId(
    key,
    "p123456789",
    new string[] { "email" },
    new string[] { $"bruce.wayne@example.test" }
);