Class that represents a contact.
More...
|
int | AccountId [get, set] |
| The parent account id
|
|
int | Id [get, set] |
| The system Id of the contact
|
|
string | Email [get, set] |
| The contact email - this is read only from the database
|
|
string | Notes [get, set] |
| Contact Notes
|
|
EmailContentTypes | EmailType [get, set] |
| Email Type
|
|
EmailOptIn | OptIn [get, set] |
| Opt In Flag
|
|
ContactAudience | Audience [get, set] |
| Audience flag
|
|
string | UserTag1 [get, set] |
| User Tag
|
|
string | UserTag2 [get, set] |
| User Tag
|
|
string | UserTag3 [get, set] |
| User Tag
|
|
object | this[string index] [get, set] |
| Get the value of one of the data fields
|
|
virtual DmDataFieldValueCollection | DataFields [get, set] |
| Returns the collection of DataField Values
|
|
bool | IsDirty [get] |
| Returns true if the object has changed
|
|
string | ObjectType [get, set] |
| Returns the type name of the class Used by the serialisation process
|
|
string | ExternalId [get] |
| Gets/Sets the generated Id that uniquely identifies this record
|
|
string | FirstName [get, set] |
| Gets/Sets the system data field FirstName
|
|
string | Fullname [get, set] |
| Gets/Sets the system data field Full name
|
|
string | Gender [get, set] |
| Gets/Sets the system data field Gender
|
|
string | LastName [get, set] |
| Gets/Sets the system data field Last name
|
|
string | Postcode [get, set] |
| Gets/Sets the system data field Post code
|
|
bool | HasDataFields [get] |
| Return true if the datafields have been loaded from the web service
|
|
int | Id [get] |
| Gets the ID of the contact
|
|
string | Email [get] |
| Gets the email of the contact
|
|
ContactAudience | Audience [get] |
| Get the audience type
|
|
EmailContentTypes | EmailType [get] |
| Gets the email type
|
|
EmailOptIn | OptIn [get] |
| Gets the opt-in type for the contact
|
|
string | Notes [get] |
| gets the notes
|
|
DmDataFieldValueCollection | DataFields [get] |
| Gets and enumeration of the data fields for the contact
|
|
bool | HasDataFields [get] |
| Flag to indicate the datafields have been loaded
|
|
int | AccountId [get] |
| The DotMailer account Id for this object
|
|
string | ExternalId [get] |
| A key that represents this object, used for synching with external applications
|
|
bool | IsDirty [get] |
| has the data of the object changed
|
|
Class that represents a contact.
static long dotMailer.Sdk.Contacts.DmContact.CalculatePopulatedCrcHash |
( |
IDmContact |
iContact | ) |
|
|
static |
returns the crc value for the populated fields
- Parameters
-
- Returns
static List<string> dotMailer.Sdk.Contacts.DmContact.GetPopulatedDataFieldNames |
( |
IDmContact |
iContact | ) |
|
|
static |
Builds a list of the populated fields for an IDmContact interface
- Parameters
-
- Returns
re-subscribes a previously unsubscribed contact.
- Parameters
-
addressBook | The book to add the contact to (if the contact is challenged, they'll only be added after responding to the challenge). |
preferredLocale | The locale of the contact (such as en-GB or en-US). If the one supplied isn't available in dotMailer, it will fall back to en-GB. |
returnUrlToUseIfChallenged | If the contact is challenged before being permitted to resubscribe, this is the page they'll end up on if they successfully complete the resubscribe. |
- Returns
- ContactAdded, ContactChallenged or ContactCannotBeUnsuppressed
void dotMailer.Sdk.Contacts.DmContact.SetContactEmail |
( |
string |
email | ) |
|
Sets the contact email address
- Parameters
-
void dotMailer.Sdk.Contacts.DmContact.SetContactId |
( |
int |
newId | ) |
|
Sets the data field value collection
- Parameters
-
int dotMailer.Sdk.Contacts.DmContact.AccountId |
|
getset |
Returns the collection of DataField Values
string dotMailer.Sdk.Contacts.DmContact.Email |
|
getset |
The contact email - this is read only from the database
string dotMailer.Sdk.Contacts.DmContact.ExternalId |
|
get |
Gets/Sets the generated Id that uniquely identifies this record
string dotMailer.Sdk.Contacts.DmContact.FirstName |
|
getset |
Gets/Sets the system data field FirstName
string dotMailer.Sdk.Contacts.DmContact.Fullname |
|
getset |
Gets/Sets the system data field Full name
string dotMailer.Sdk.Contacts.DmContact.Gender |
|
getset |
Gets/Sets the system data field Gender
bool dotMailer.Sdk.Contacts.DmContact.HasDataFields |
|
get |
Return true if the datafields have been loaded from the web service
int dotMailer.Sdk.Contacts.DmContact.Id |
|
getset |
The system Id of the contact
bool dotMailer.Sdk.Contacts.DmContact.IsDirty |
|
get |
Returns true if the object has changed
string dotMailer.Sdk.Contacts.DmContact.LastName |
|
getset |
Gets/Sets the system data field Last name
string dotMailer.Sdk.Contacts.DmContact.Notes |
|
getset |
string dotMailer.Sdk.Contacts.DmContact.ObjectType |
|
getset |
Returns the type name of the class Used by the serialisation process
string dotMailer.Sdk.Contacts.DmContact.Postcode |
|
getset |
Gets/Sets the system data field Post code
object dotMailer.Sdk.Contacts.DmContact.this[string index] |
|
getset |
Get the value of one of the data fields
- Parameters
-
index | the name of the data field |
- Returns
string dotMailer.Sdk.Contacts.DmContact.UserTag1 |
|
getset |
string dotMailer.Sdk.Contacts.DmContact.UserTag2 |
|
getset |
string dotMailer.Sdk.Contacts.DmContact.UserTag3 |
|
getset |