Zum Hauptinhalt springen

contacts

Module: contacts

Contact records with personal, company, and address information.

NameTypeNullableDefault ValueNotes
PKID
integerContact ID
fork
forks.ID
integerFork ID (`null` for base module)
owneruser
users.ID
integerOwner user ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
ownergroup
groups.ID
integerOwner group ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
creator
integerCreator user ID (defaults to authenticated user on creation)
assigneduser
users.ID
integerAssigned user ID
creationdate
bigintdate_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintdate_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
davserver
davservers.ID
integerDAV server ID
picbinfile
binfiles.ID
integerBinary file ID; is read-only (not for `PUT` or `PATCH`)
visibility
smallint0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED)
lastname
text''Last name (surname or company name); is required if `firstname` is empty
firstname
text''First name (given name); is required if `lastname` is empty
type
smallint0Contact type (`0`=COMPANY, `1`=PERSON)
title
text''Title or salutation; only for PERSON
company
text''Company name; only for PERSON
position
text''Position or job title; only for PERSON
department
text''Department; only for PERSON
address
text''Address (street and building/suite number)
postalcode
text''Postal or ZIP code
city
text''City or locality
region
text''Region or state
country
character varying(2)''Country code (ISO 3166-1 alpha-2)
phone
text''Primary phone number
phone2
text''Secondary phone number
cell
text''Cell phone number
fax
text''Fax number
email
text''Primary e-mail address
email2
text''Secondary e-mail address
website
text''Website URL
birthdate
bigintBirth date as a Unix timestamp; only for PERSON
description
text''Detailed general description
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_contacts_assigneduserginassigneduser
fk_contacts_davservergindavserver
fk_contacts_forkginfork
fk_contacts_ownergroupginownergroup
fk_contacts_owneruserginowneruser
fk_contacts_picbinfilebtreepicbinfile
i_contacts_lastname_firstnamebtreelastname, firstname
i_contacts_noforkginfork
i_contacts_noownerginownergroup
pk_contactsbtreeID
s_contacts_companygincompany
s_contacts_emailginemail
s_contacts_email2ginemail2
s_contacts_firstnameginfirstname
s_contacts_lastnameginlastname
NameType
c_contacts_namecheck
c_contacts_ownercheck
c_contacts_typecheck
dc_contacts_addresscheck
dc_contacts_cellcheck
dc_contacts_citycheck
dc_contacts_companycheck
dc_contacts_countrycheck
dc_contacts_departmentcheck
dc_contacts_descriptioncheck
dc_contacts_emailcheck
dc_contacts_email2check
dc_contacts_faxcheck
dc_contacts_firstnamecheck
dc_contacts_lastnamecheck
dc_contacts_phonecheck
dc_contacts_phone2check
dc_contacts_positioncheck
dc_contacts_postalcodecheck
dc_contacts_regioncheck
dc_contacts_titlecheck
dc_contacts_typecheck
dc_contacts_visibilitycheck
dc_contacts_websitecheck
fk_contacts_assigneduserforeign_key
fk_contacts_davserverforeign_key
fk_contacts_forkforeign_key
fk_contacts_ownergroupforeign_key
fk_contacts_owneruserforeign_key
fk_contacts_picbinfileforeign_key
pk_contactsprimary_key
Loading...