ContactServiceCreateEditableContactFromContact Method |
Namespace: Avaya.ClientServices
public EditableContact CreateEditableContactFromContact( Contact contact )
This function can be used to create a new local contact from the results of a directory search performed by the ContactService.SearchContacts(SearchContactsWatcher ^,System::String ^,SearchScopeType,SearchSourceType,uint32_t,uint32_t) method. After creating an EditableContact from one of the search results, call the addContact method to create and save the new contact. Creating an enterprise contact from a local contact can be done using the same approach.
This method must be used to update an existing contact as well. After the new EditableContact is created, and the desired contact fields have been updated, use the UpdateContact(EditableContact, ContactServiceUpdateContactCompletionHandler) method to send a request.