AssignInterviewersToProject

Description

Assign interviewers to a project.

An exception is thrown if the project id does not exist.
Signature
string[] AssignInterviewersToProject(string key, string[] userIds, string projectId)

Parameters

Name Data Type Description

key

string required

The authentication key

userIds

string[ ] required

The interviewer user ids to assign.

projectId

string required

The project id that the interviewers will be assigned to.

Response

Data Type Description

string[ ]

The user ids that do not exist. A successful assignment will return an empty array.

Example

// Create instance of the webservice
var capi = new CapiSoapClient();

//***************************************************
//
// AssignInterviewersToProject
//
//***************************************************

// Assign interviewers to survey
string[] interviewIdsThatDoesNotExist = capi.AssignInterviewersToProject(key, new string[] { "john", "peter" }, "p123456789");
if (interviewIdsThatDoesNotExist.Length==0)
{
	// Assigment was successful
}