> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.ContactEntity

# \<a id="SuperOffice\_WebApi\_Data\_ContactEntity">\</a> Class ContactEntity

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for ContactEntity.
The Contact Service. The service implements all services working with the Contact object

```csharp theme={null}
public class ContactEntity : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[ContactEntity](SuperOffice.WebApi.Data.ContactEntity.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get ContactEntity 123 using the WebApi client:
\<pre>\<code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new ContactAgent(configuration);
var contactEntity = agent.GetContactEntity( 123 );\</code>\</pre>

## Remarks

Use \<xref href="SuperOffice.CRM.Services.ArchiveAgent?text=Archive+agent" data-throw-if-not-resolved="false">\</xref>:
All ContactEntity: \<pre>\<code class="lang-csharp">"SimpleContact"\</code>\</pre>
Activities: \<pre>\<code class="lang-csharp">"ContactActivity"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.
Appointments: \<pre>\<code class="lang-csharp">"Appointment"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.
Documents: \<pre>\<code class="lang-csharp">"Document"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.
Projects: \<pre>\<code class="lang-csharp">"ContactProjects"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.
Sales: \<pre>\<code class="lang-csharp">"SaleFilteredWithStakeholder"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.
Persons: \<pre>\<code class="lang-csharp">"Person"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.
Relations: \<pre>\<code class="lang-csharp">"Relation"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"source/restrictionContactId eq " + id\</code>\</pre>.
Tickets: \<pre>\<code class="lang-csharp">"Ticket"\</code>\</pre> with restriction \<pre>\<code class="lang-csharp">"contactId eq " + id\</code>\</pre>.

## Constructors

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_\_ctor">\</a> ContactEntity()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public ContactEntity()
```

## Properties

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_ActiveErpLinks">\</a> ActiveErpLinks

The number of active erp links

```csharp theme={null}
public virtual int ActiveErpLinks { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_ActiveInterests">\</a> ActiveInterests

The number of active interests.

```csharp theme={null}
public virtual int ActiveInterests { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_ActiveStatusMonitorId">\</a> ActiveStatusMonitorId

Active status monitor identity with the lowest rank for contact

```csharp theme={null}
public virtual int ActiveStatusMonitorId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Address">\</a> Address

```csharp theme={null}
public virtual Address Address { get; set; }
```

#### Property Value

[Address](SuperOffice.WebApi.Data.Address.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Associate">\</a> Associate

The user that owns this contact.
\<p>Use MDO List name "associate" to get list items.\</p>

```csharp theme={null}
public virtual Associate Associate { get; set; }
```

#### Property Value

[Associate](SuperOffice.WebApi.Data.Associate.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_BounceEmails">\</a> BounceEmails

Email addresses with a positive bounce counter.

```csharp theme={null}
public virtual string[] BounceEmails { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Business">\</a> Business

The business that the contact is associated with. The GUI forces the user to enter a business type.
\<p>Use MDO List name "business" to get list items.\</p>

```csharp theme={null}
public virtual Business Business { get; set; }
```

#### Property Value

[Business](SuperOffice.WebApi.Data.Business.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Category">\</a> Category

The category that is set on the company. The GUI forces the user to enter a category type
\<p>Use MDO List name "category" to get list items.\</p>

```csharp theme={null}
public virtual Category Category { get; set; }
```

#### Property Value

[Category](SuperOffice.WebApi.Data.Category.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_ContactId">\</a> ContactId

Primary key

```csharp theme={null}
public virtual int ContactId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Country">\</a> Country

The country this contact is located in. The country a contact is saved with, affects the phone number format, and the address layout.
\<p>Use MDO List name "country" to get list items.\</p>

```csharp theme={null}
public virtual Country Country { get; set; }
```

#### Property Value

[Country](SuperOffice.WebApi.Data.Country.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_CreatedBy">\</a> CreatedBy

The user that created the contact

```csharp theme={null}
public virtual Associate CreatedBy { get; set; }
```

#### Property Value

[Associate](SuperOffice.WebApi.Data.Associate.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_CreatedDate">\</a> CreatedDate

Date registered

```csharp theme={null}
public virtual DateTime CreatedDate { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_CustomFields">\</a> CustomFields

Udef + Extra fields added to the carrier. Extra fields as defined by changes to database schema + user-defined fields as defined by admin.
Custom fields combines user defined fields and extra fields into one bucket.
The individual \<xref href="SuperOffice.WebApi.Data.ContactEntity.ExtraFields" data-throw-if-not-resolved="false">\</xref> and \<xref href="SuperOffice.WebApi.Data.ContactEntity.UserDefinedFields?text=UserDefinedFields" data-throw-if-not-resolved="false">\</xref> properties are deprecated in favor of this
combined collection.
The value string is the encoded value: "\[I:123]" or "\[DT:2019-09-11]".

```csharp theme={null}
public virtual StringDictionary CustomFields { get; set; }
```

#### Property Value

[StringDictionary](SuperOffice.WebApi.Data.StringDictionary.md)

#### Remarks

The naming convention of the key string is as follows:
\<table>\<tbody>\<tr>\<td class="term">Extra field data\</td>\<td class="description">
\[Extra field name]\<p>\</p>
Example: \<pre>\<code class="lang-csharp">'x\_gorp' = '\[I:123]'\</code>\</pre>
\</td>\</tr>\<tr>\<td class="term">User defined field data\</td>\<td class="description">
\[Prog-id name]\<p>\</p>
Example: \<pre>\<code class="lang-csharp">'SuperOffice:1' = '\[I:123]'\</code>\</pre>\<p>\</p>
\</td>\</tr>\</tbody>\</table>

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_CustomerLanguage">\</a> CustomerLanguage

customerlanguage

```csharp theme={null}
public virtual CustomerLanguage CustomerLanguage { get; set; }
```

#### Property Value

[CustomerLanguage](SuperOffice.WebApi.Data.CustomerLanguage.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_DbiAgentId">\</a> DbiAgentId

Integration agent (eJournal)

```csharp theme={null}
public virtual int DbiAgentId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_DbiKey">\</a> DbiKey

The primary key for the integrated entry in the external datasource.

```csharp theme={null}
public virtual string DbiKey { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_DbiLastModified">\</a> DbiLastModified

When the entry was last modified.

```csharp theme={null}
public virtual DateTime DbiLastModified { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_DbiLastSyncronized">\</a> DbiLastSyncronized

Last external syncronization.

```csharp theme={null}
public virtual DateTime DbiLastSyncronized { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Deleted">\</a> Deleted

If nonzero, then this contact is 'deleted' and should generally not be shown

```csharp theme={null}
public virtual short Deleted { get; set; }
```

#### Property Value

[short](https://learn.microsoft.com/dotnet/api/system.int16)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Department">\</a> Department

Department

```csharp theme={null}
public virtual string Department { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Description">\</a> Description

Description of the contact. Usually shown as a postit note.

```csharp theme={null}
public virtual string Description { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Domains">\</a> Domains

Web domains for this contact, ordered in array by rank

```csharp theme={null}
public virtual string[] Domains { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Emails">\</a> Emails

The contact's email

```csharp theme={null}
public virtual EntityElement[] Emails { get; set; }
```

#### Property Value

[EntityElement](SuperOffice.WebApi.Data.EntityElement.md)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_ExtraFields">\</a> ExtraFields

Deprecated: Use \<xref href="SuperOffice.WebApi.Data.ContactEntity.CustomFields" data-throw-if-not-resolved="false">\</xref> instead.
Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
The value string is the encoded value: "\[I:123]" or "\[DT:2019-09-11]".

```csharp theme={null}
public virtual StringDictionary ExtraFields { get; set; }
```

#### Property Value

[StringDictionary](SuperOffice.WebApi.Data.StringDictionary.md)

#### Remarks

The naming convention of the key string is as follows:
\<table>\<tbody>\<tr>\<td class="term">Plug-in data\</td>\<td class="description">
\[Plug-in name].\[Property name]
Example: DocumentPlugin.DocumentType
\</td>\</tr>\<tr>\<td class="term">Foreign key data\</td>\<td class="description">
The device identity is appended directly to the device name if it exists.
This is not commonly used, but the database opens for this as a possibility to have several devices with the same name,
and hence we would ensure an unique key if this field is used.
Example: Audience.SecretService.DefaultCountry
\</td>\</tr>\<tr>\<td class="term">User defined table data\</td>\<td class="description">
\[Table name].\[Field name]
Example: Phunneling.AggregatedSales
\</td>\</tr>\<tr>\<td class="term">Other\</td>\<td class="description">
Other data sources must ensure an unique name. If the key already exists we do not add the data to the dictionary.
We also ensure that SuperOffice data are added first, so that existing data doesnt change when more data sources are added (with duplicate data keys).
\</td>\</tr>\</tbody>\</table>

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Faxes">\</a> Faxes

The contact's fax numbers

```csharp theme={null}
public virtual EntityElement[] Faxes { get; set; }
```

#### Property Value

[EntityElement](SuperOffice.WebApi.Data.EntityElement.md)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_GroupId">\</a> GroupId

Group id of original owning associate, semantics like appnt.grp\_id

```csharp theme={null}
public virtual int GroupId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Interests">\</a> Interests

The contact's available and selected interests.
\<p>Use MDO List name "contint" to get list items.\</p>

```csharp theme={null}
public virtual SelectableMDOListItem[] Interests { get; set; }
```

#### Property Value

[SelectableMDOListItem](SuperOffice.WebApi.Data.SelectableMDOListItem.md)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Kananame">\</a> Kananame

Contact kana name, used in Japanese versions only

```csharp theme={null}
public virtual string Kananame { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Name">\</a> Name

Contact name

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_NoMailing">\</a> NoMailing

Spam filter. Indicates if this contact should retrieve advertising.

```csharp theme={null}
public virtual bool NoMailing { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Number1">\</a> Number1

Alphanumeric user field

```csharp theme={null}
public virtual string Number1 { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Number2">\</a> Number2

Alphanumeric user field

```csharp theme={null}
public virtual string Number2 { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_OrgNr">\</a> OrgNr

VAT number or similar

```csharp theme={null}
public virtual string OrgNr { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Persons">\</a> Persons

The persons belonging to the contact.

```csharp theme={null}
public virtual Person[] Persons { get; set; }
```

#### Property Value

[Person](SuperOffice.WebApi.Data.Person.md)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Phones">\</a> Phones

The contact's phone numbers

```csharp theme={null}
public virtual EntityElement[] Phones { get; set; }
```

#### Property Value

[EntityElement](SuperOffice.WebApi.Data.EntityElement.md)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Source">\</a> Source

How did we get this contact? For future integration needs

```csharp theme={null}
public virtual short Source { get; set; }
```

#### Property Value

[short](https://learn.microsoft.com/dotnet/api/system.int16)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_SupportAssociate">\</a> SupportAssociate

\<p>Use MDO List name "associate" to get list items.\</p>

```csharp theme={null}
public virtual Associate SupportAssociate { get; set; }
```

#### Property Value

[Associate](SuperOffice.WebApi.Data.Associate.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_SupportPerson">\</a> SupportPerson

```csharp theme={null}
public virtual Person SupportPerson { get; set; }
```

#### Property Value

[Person](SuperOffice.WebApi.Data.Person.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_TicketPriority">\</a> TicketPriority

\<p>Use MDO List name "ticketpriority" to get list items.\</p>

```csharp theme={null}
public virtual TicketPriority TicketPriority { get; set; }
```

#### Property Value

[TicketPriority](SuperOffice.WebApi.Data.TicketPriority.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_UpdatedBy">\</a> UpdatedBy

The user that last updated the contact

```csharp theme={null}
public virtual Associate UpdatedBy { get; set; }
```

#### Property Value

[Associate](SuperOffice.WebApi.Data.Associate.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_UpdatedDate">\</a> UpdatedDate

Date last updated

```csharp theme={null}
public virtual DateTime UpdatedDate { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Urls">\</a> Urls

The contact's internet adresses

```csharp theme={null}
public virtual EntityElement[] Urls { get; set; }
```

#### Property Value

[EntityElement](SuperOffice.WebApi.Data.EntityElement.md)\[]

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_UserDefinedFields">\</a> UserDefinedFields

Deprecated: Use \<xref href="SuperOffice.WebApi.Data.ContactEntity.CustomFields" data-throw-if-not-resolved="false">\</xref> instead.
Dictionary of user defined field data.
The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:\[UdefFieldIdentity]", e.g. "SuperOffice:1234"
The value string is the encoded value: "\[I:123]" or "\[DT:2019-09-11]".

```csharp theme={null}
public virtual StringDictionary UserDefinedFields { get; set; }
```

#### Property Value

[StringDictionary](SuperOffice.WebApi.Data.StringDictionary.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_UtmParameters">\</a> UtmParameters

Utm parameters when creating first person and contact, readonly field

```csharp theme={null}
public virtual SavedUtmParameters UtmParameters { get; set; }
```

#### Property Value

[SavedUtmParameters](SuperOffice.WebApi.Data.SavedUtmParameters.md)

### \<a id="SuperOffice\_WebApi\_Data\_ContactEntity\_Xstop">\</a> Xstop

STOP flag

```csharp theme={null}
public virtual bool Xstop { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## See Also

[ContactAgent](SuperOffice.WebApi.Agents.ContactAgent.md),
[ArchiveAgent](SuperOffice.WebApi.Agents.ArchiveAgent.md),


## Related topics

- [SuperOffice.WebApi.Agents.ContactAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ContactAgent.md)
- [SuperOffice.WebApi.Agents.IContactAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IContactAgent.md)
- [SuperOffice.WebApi.Data.Contact EnrichContactEntityRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Contact_EnrichContactEntityRequest.md)
- [SuperOffice.WebApi.Data.Contact ValidateContactEntityRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Contact_ValidateContactEntityRequest.md)
- [SuperOffice.WebApi.Data.Contact ChangeCountryRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Contact_ChangeCountryRequest.md)
- [SuperOffice.WebApi.Data.BizCard](/en/api/reference/webapi/SuperOffice.WebApi.Data.BizCard.md)
