UpdateInterviewer

Description

Update an interviewer.

Signature
int UpdateInterviewer(string key, string userId, string password, string lastName, string firstName)

Parameters

Name Data Type Description

key

string required

The authentication key

userId

string required

The interviewer’s user id.

password

string required

The new password.

lastName

string required

The new last name.

firstName

string required

The new first name.

Response

Data Type Description

int

The (internal) interviewerId if the update is successful; -1 if the user id already exists.

Example

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

//***************************************************
//
// InsertInterviewer
//
//***************************************************

// Insert a new interviewer
int internalCapiInterviewerId = capi.InsertInterviewer(key, "john", "pass#wd", "Doe", "John");
if (internalCapiInterviewerId == -1)
{
	//User id already exists
}