Class Contact
Carrier object for Contact. Services for the Contact Carrier is available from the Contact Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class Contact : Carrier
Examples
Get Contact 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ContactAgent();
var contact = agent.GetContact( 123 );
}
Constructors
Contact()
Default constructor
Declaration
public Contact()
See Also
Properties
ActiveErpLinks
The number of active erp links
Declaration
[DataMember]
public virtual int ActiveErpLinks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Address
Contact address as a list of LocalizedFieldList objects. Used to store localized information such as formatted address data. Suitable for passing to an address control for display.
Declaration
[DataMember]
public virtual Address Address { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
See Also
AssociateFullName
The associate's culture formatted fullname (firstname, middleName and lastname)
Declaration
[DataMember]
public virtual string AssociateFullName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
AssociateId
Our contact
Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
BusinessName
The business list item name
Declaration
[DataMember]
public virtual string BusinessName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
CategoryName
The category list item name
Declaration
[DataMember]
public virtual string CategoryName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
City
City corresponding to zip code
Declaration
[DataMember]
public virtual string City { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ContactId
Primary key
Declaration
[DataMember]
public virtual int ContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
CountryId
Country
Declaration
[DataMember]
public virtual int CountryId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
CountryName
Name of country in installed language
Declaration
[DataMember]
public virtual string CountryName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Department
Department
Declaration
[DataMember]
public virtual string Department { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
DirectPhone
The contacts phone
Declaration
[DataMember]
public virtual string DirectPhone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
EmailAddress
The contact email address
Declaration
[DataMember]
public virtual string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
EmailAddressName
Visible field
Declaration
[DataMember]
public virtual string EmailAddressName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
FormattedAddress
The contact's address, formatted with linebreaks and spaces into a single string.
Declaration
[DataMember]
public virtual string FormattedAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
FullName
Carrier object for Contact. Services for the Contact Carrier is available from the Contact Agent.
Declaration
[DataMember]
public virtual string FullName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
IsOwnerContact
Is the contact an owner contact. This means that all persons on this contact can on only be internal users and not external users.
Declaration
[DataMember]
public virtual bool IsOwnerContact { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Kananame
Contact kana name, used in Japanese versions only
Declaration
[DataMember]
public virtual string Kananame { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Name
Contact name
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Number1
Alphanumeric user field
Declaration
[DataMember]
public virtual string Number1 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Number2
Alphanumeric user field
Declaration
[DataMember]
public virtual string Number2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
OrgNr
VAT number or similar
Declaration
[DataMember]
public virtual string OrgNr { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
URL
The internet address to this contact
Declaration
[DataMember]
public virtual string URL { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
URLName
Visible field
Declaration
[DataMember]
public virtual string URLName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |