PublicAPI.CRM.Relationship.CreateMeeting ELMA API Documentation
Create Meeting for a contact. Creates an object without saving to the database
 
 
Syntax

public RelationshipMeeting CreateMeeting(
	Contact contact
)

Parameters

contact
Type: Contact
Contact, the meeting is created for. Object. Access path: PublicAPI.CRM.Contact

Return Value

Type: RelationshipMeeting
Meeting
Examples

//load a contact by ID 
var contact = PublicAPI.CRM.Contact.Load(3);

//create a meeting 
var myMeeting = PublicAPI.CRM.Relationship.CreateMeeting(contact);

// myMeeting - created meeting 

//WARNING!! A meeting is created without a name. For correct work with the meeting, you should 
//specify its name and save the object to the database
myMeeting.Theme = "Meeting Name";
myMeeting.Save();
See Also