Skip to main content

Class Person

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for Person.

Inheritance

objectCarrierPerson

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Examples

Get Person 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new PersonAgent(configuration);
var person = agent.GetPerson( 123 );

Constructors

Person()

Default constructor - defaults any enum props to 0.

Properties

How many active ERP links are there for this person?

Property Value

int

ActiveInterests

Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true

Property Value

short

AssociateId

Id of the item’s owner (Associate id)

Property Value

int

AssociateName

Name of the person’s owner

Property Value

string

CategoryName

The category list item name

Property Value

string

ContactCountryId

The persons contact country id

Property Value

int

ContactDepartment

The persons contact department

Property Value

string

ContactFax

Actual phone number as eneterd by the user

Property Value

string

ContactFullName

Company full name + department

Property Value

string

ContactId

Owning contact ID

Property Value

int

ContactName

The persons company name

Property Value

string

ContactOrgNr

The persons contact organization number

Property Value

string

ContactPhone

Returns the direct phone that belong to the persons contact.

Property Value

string

CountryId

Country

Property Value

int

Description

Info text/description on person.

Property Value

string

DirectPhone

Returns the direct phone that belong to the contact person.

Property Value

string

Email

First email on contact person.

Property Value

string

EmailName

E-mail description

Property Value

string

FaxPhone

Returns the fax phone that belong to the contact person.

Property Value

string

Firstname

First name

Property Value

string

FormalName

Get formal name for a person, as used in labels. (Full name + person title + academic title)

Property Value

string

FullName

Get the persons full name (internal name used in clients for employees).

Property Value

string

Kanafname

Kana first name, used in Japanese versions only

Property Value

string

Kanalname

Kana last name, used in Japanese versions only

Property Value

string

Lastname

Last name

Property Value

string

MiddleName

Middle name or ‘van’ etc.

Property Value

string

MobilePhone

Returns the mobile phone that belong to the contact person.

Property Value

string

Mrmrs

e.g. Mrs sex_title

Property Value

string

PersonId

Primary key

Property Value

int

PersonNumber

Alphanumeric user field

Property Value

string

Position

The position. This is a predefined SuperOffice value, different from Title

Property Value

string

Post1

Postal address, used in Japanese versions only

Property Value

string

Post2

Postal address, used in Japanese versions only

Property Value

string

Post3

Postal address, used in Japanese versions only

Property Value

string

Rank

Display sort sequence for default sort order

Property Value

short

Retired

1 = the user is retired and should have no rights, not appear in lists, etc.

Property Value

short

SupportAssociateId

Our support contact for this person

Property Value

int

SupportLanguageId

Support priority ID

Property Value

int

TicketPriorityId

Ticket priority ID

Property Value

int

Title

Title

Property Value

string

UsePersonAddress

If 1, use person’s address for mailing instead of company address

Property Value

bool

See Also

PersonAgent