Show / Hide Table of Contents

Class Contact

Carrier object for Contact. Services for the Contact Carrier is available from the Contact Agent.

Inheritance
object
Contact
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
IContactAgent

Properties

ActiveErpLinks

The number of active erp links

Declaration
[DataMember]
public virtual int ActiveErpLinks { get; set; }
Property Value
Type Description
int
See Also
IContactAgent

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
IContactAgent

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
IContactAgent

AssociateId

Our contact

Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
Type Description
int
See Also
IContactAgent

BusinessName

The business list item name

Declaration
[DataMember]
public virtual string BusinessName { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

CategoryName

The category list item name

Declaration
[DataMember]
public virtual string CategoryName { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

City

City corresponding to zip code

Declaration
[DataMember]
public virtual string City { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

ContactId

Primary key

Declaration
[DataMember]
public virtual int ContactId { get; set; }
Property Value
Type Description
int
See Also
IContactAgent

CountryId

Country

Declaration
[DataMember]
public virtual int CountryId { get; set; }
Property Value
Type Description
int
See Also
IContactAgent

CountryName

Name of country in installed language

Declaration
[DataMember]
public virtual string CountryName { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

Department

Department

Declaration
[DataMember]
public virtual string Department { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

DirectPhone

The contacts phone

Declaration
[DataMember]
public virtual string DirectPhone { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

EmailAddress

The contact email address

Declaration
[DataMember]
public virtual string EmailAddress { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

EmailAddressName

Visible field

Declaration
[DataMember]
public virtual string EmailAddressName { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

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
IContactAgent

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
IContactAgent

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
IContactAgent

Kananame

Contact kana name, used in Japanese versions only

Declaration
[DataMember]
public virtual string Kananame { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

Name

Contact name

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

Number1

Alphanumeric user field

Declaration
[DataMember]
public virtual string Number1 { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

Number2

Alphanumeric user field

Declaration
[DataMember]
public virtual string Number2 { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

OrgNr

VAT number or similar

Declaration
[DataMember]
public virtual string OrgNr { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

URL

The internet address to this contact

Declaration
[DataMember]
public virtual string URL { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

URLName

Visible field

Declaration
[DataMember]
public virtual string URLName { get; set; }
Property Value
Type Description
string
See Also
IContactAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IContactAgent

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.

See Also
IContactAgent

See Also

IContactAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top