SendMessageToInterviewers
Description
Send a message to interviewers.
Signature
string[] SendMessageToInterviewers(string key, string[] userIds, MessageContent messageContent)
Parameters
Name | Data Type | Description |
---|---|---|
key |
string required |
The authentication key |
userId |
string required |
The interviewer user id to assign. |
messageContent |
MessageContent required |
The message content. |
Response
Data Type | Description |
---|---|
string[ ] |
The interviewer user ids that do not exist in the database. |
Example
// Create instance of the webservice
var capi = new CapiSoapClient();
//***************************************************
//
// SendMessageToInterviewers
//
//***************************************************
MessageContent messageContent = new MessageContent();
messageContent.Subject = "Important information";
messageContent.Body = "Please come to the information meeting at the end of this week\n\nRegards,\nJohn Doe";
string[] interviewIdsThatDoNotExist = capi.SendMessageToInterviewers(key, new string[] { "john", "peter" }, messageContent);
if (interviewIdsThatDoNotExist.Length == 0)
{
// Message was successfully sent to all interviewers
}