Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
ContactService Class
ContactService Methods
AddContact Method
ChangeSearchContactsRequest Method
CreateContactGroup Method
CreateEditableContact Method
CreateEditableContactFromContact Method
DeleteContact Method
DeleteContactGroup Method
GetAvailableContactSourceTypes Method
GetContactGroups Method
GetContacts Method
GetMatchingContactForDirectoryContact Method
GetSelfContact Method
ResolveContacts Method
SearchContacts Method
SearchTerminals Method
UpdateContact Method

ContactService AddContact Method

Adds a new contact.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public void AddContact(
    	EditableContact newContact,
    	ContactServiceAddContactCompletionHandler completionHandler
    )

#### Parameters

newContact
  Type: Avaya.ClientServices
  EditableContact
  The editable contact used to create the new contact. This editable contact can be created using one of the following methods:
  - by calling CreateEditableContact
    and then filling in the fields appropriately.
  - by calling CreateEditableContactFromContact(Contact) to populate the editable contact from a directory search result.
completionHandler
  Type: Avaya.ClientServices
  ContactService
  AddContactCompletionHandler
  The completion handler for this operation.

See Also

#### Reference

ContactService Class
Avaya.ClientServices Namespace
ContactService
AddContactCapability
ContactService
UpdateContact(EditableContact, ContactService
UpdateContactCompletionHandler)
ContactService
DeleteContact(Contact, ContactService
ContactActionCompletionHandler)

© 2017 Avaya LLC. All Rights Reserved.