Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
EditableContact Class
EditableContact Properties
EditableContact Methods

EditableContact Class

Mutable contact object which exposes all provided contact details.
Inheritance Hierarchy
System
Object
Avaya.ClientServices
BaseContact
Avaya.ClientServices
EditableContact

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

    public class EditableContact : BaseContact

The EditableContact type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Alias | The native alias.
| AsciiAlias | The non-localized alias.
| AsciiDisplayName | The non-localized display name.
| AsciiFirstName | The non-localized first name.
| AsciiLastName | The non-localized last name.
| AsciiMiddleName | The non-localized middle name.
| CanAddIMAddress | True if add of IM address will not make contact invalid.
| City | The city.
| Company | The company.
| ContactSavable | True if it's possible to save Contact with current state of values, false if not.
| Country | The country.
| Custom1 | The list of custom1 values.
| Custom2 | The list of custom1 values.
| Custom3 | The list of custom1 values.
| Department | The department.
| DisplayName | The native display name.
| EmailAddresses | The list of email addresses.
| ExtendedContactDetailsAvailable | True if extended contact details is available.
| ExtraFields | The list extra fields used for local contacts. (Inherited from BaseContact.)
| FirstName | The native first name.
| HasPicture | The has picture flag.
| IMAddresses | The list of IM addresses.
| IsBuddy | The buddy flag. Used for presence feature purpose.
| IsFavorite | The favorite flag.
| IsVip | The VIP flag.
| Language | The language is per contact record.
| LastName | The native last name.
| Location | The location.
| Manager | The name of a person who is a supervisor.
| MiddleName | The native middle name.
| Notes | The notes field.
| PhoneNumbers | The list of phone numbers.
| PictureData | The contact picture bytes.
| PostalCode | The postal code.
| Rank | The rank field defining the contact sorting order. 0.0 value means "No rank". Higher values are sorted toward top of the list. For consistency between clients, it is recommended to use a value between 0 and 1.
| State | The state.
| StreetAddress | The street address.
| Title | The title or company role.
| UniqueAddressForMatching | Matching/merging address. That parameter can be used as record unique id.
| VideoCapable | True if cContact is video capable.

Top
Methods

| Name | Description
--- | --- | ---
| CanAddEmailAddressOfType | True if addition of email address of a specified type will not make contact invalid.
| CanAddPhoneNumberOfType | True if add of phone numer of specified type will not make contact invalid.
| GetAlias | (Overrides BaseContact GetAlias .)
| GetAsciiAlias | (Overrides BaseContact GetAsciiAlias .)
| GetAsciiDisplayName | (Overrides BaseContact GetAsciiDisplayName .)
| GetAsciiFirstName | (Overrides BaseContact GetAsciiFirstName .)
| GetAsciiLastName | (Overrides BaseContact GetAsciiLastName .)
| GetAsciiMiddleName | (Overrides BaseContact GetAsciiMiddleName .)
| GetCity | (Overrides BaseContact GetCity .)
| GetCompany | (Overrides BaseContact GetCompany .)
| GetCountry | (Overrides BaseContact GetCountry .)
| GetCustom1 | (Overrides BaseContact GetCustom1 .)
| GetCustom2 | (Overrides BaseContact GetCustom2 .)
| GetCustom3 | (Overrides BaseContact GetCustom3 .)
| GetDepartment | (Overrides BaseContact GetDepartment .)
| GetDisplayName | (Overrides BaseContact GetDisplayName .)
| GetEmailAddresses | (Overrides BaseContact GetEmailAddresses .)
| GetExtraFields | (Overrides BaseContact GetExtraFields .)
| GetFirstName | (Overrides BaseContact GetFirstName .)
| GetIMAddresses | (Overrides BaseContact GetIMAddresses .)
| GetIsBuddy | (Overrides BaseContact GetIsBuddy .)
| GetIsFavorite | (Overrides BaseContact GetIsFavorite .)
| GetIsVideoCapable | (Overrides BaseContact GetIsVideoCapable .)
| GetIsVip | (Overrides BaseContact GetIsVip .)
| GetLanguage | (Overrides BaseContact GetLanguage .)
| GetLastName | (Overrides BaseContact GetLastName .)
| GetLocation | (Overrides BaseContact GetLocation .)
| GetManager | (Overrides BaseContact GetManager .)
| GetMiddleName | (Overrides BaseContact GetMiddleName .)
| GetNotes | (Overrides BaseContact GetNotes .)
| GetPhoneNumbers | (Overrides BaseContact GetPhoneNumbers .)
| GetPostalCode | (Overrides BaseContact GetPostalCode .)
| GetRank | (Overrides BaseContact GetRank .)
| GetState | (Overrides BaseContact GetState .)
| GetStreetAddress | (Overrides BaseContact GetStreetAddress .)
| GetTitle | (Overrides BaseContact GetTitle .)
| GetUniqueAddressForMatching | (Overrides BaseContact GetUniqueAddressForMatching .)
| RemovePictureFromCache | Removes contact's picture from cache.
| RetrievePicture | Retrieves picture for contact.

Top
Remarks

EditableContact can be created by using either ContactService.CreateEditableContact or ContactService.CreateEditableContactFromContact. Second method needs a regular contact as a source for data.

EditableContact can be used in two contact service methods - ContactService.AddContact and ContactService.UpdateContact.

See Also

#### Reference

Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.