© 2018 Capita Business Services Ltd. All rights reserved.

Capita Education Software Solutions is a trading name of Capita Business Services Ltd. Our Registered office is 30 Berners Street, London, W1T 3LR and our registered number is 02299747. Further information about Capita plc can be found in our legal statement.

SIMS 7 - TPMessageWrite

TPMessageWrite.SendGeneralMessage (int personId,string priority,string message,string messageText)

This interface will send a message to the supplied personId with the supplied priority, subject and message text. The senderId will be the logged in user.

Sample code and output for this interface is shown below:

TPMessageWrite msgWrite = new TPMessageWrite();
bool done = msgWrite.SendGeneralMessage(26, "Medium", "DOCTEST", "This is a test message"); 

TPMessageWrite.DeleteGeneralMessage (int messageId,int personId)

This interface will delete the messageId associated with the personId supplied.

Sample code and output for this interface is shown below:

TPMessageWrite msgWrite = new TPMessageWrite();
bool done = msgWrite.DeleteGeneralMessage(8, 26);

 

SIMS 7 RESOURCES

Related resources for SIMS 7