Constructors
NSContactAgent()
Methods
AddPerson(Integer,NSPersonEntity)
Adds a person to the given contactChangeCountry(NSContactEntity,Integer)
Changes country regenerates the default values and localized information such as phone number and address formatCopy(Integer,String,String,Bool)
Copies a contact. Activities and related data will be ignoredCreateDefaultContactEntity()
Sets default values into a new NSContactEntity.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateNewEntry(NSDuplicateEntry)
Creates a new contact based on external duplicateDeleteContactEntity(Integer)
Deletes the NSContactEntityDeleteExpired()
Triggers deletion of contacts (companies) that has been (soft) deleted and have timed out the expiry period (the SoftDeleteRetention preference).GetAddress(Integer)
Gets a contact’s localized addressGets the contact’s localized addressGetAddressByCountry(Integer,Integer)
Gets a contact’s localized addressGets the contact’s localized addressGetContact(Integer)
Gets an NSContact object.GetContactEntity(Integer)
Gets an NSContactEntity object.GetContactList(Integer[])
Gets an array of Contact objects.GetContactSummary(Integer,Integer)
Gets summary of contact and its recent activity.GetContactWithPersons(Integer)
Returns the contact with all the contact persons belonging to the contactGetDuplicateRules()
Retrieves all available duplicate rules for contactGetDuplicates(String)
Gets duplicates (exact or similar in the database) based on the nameGetMyActiveContacts(DateTime,Integer[],Integer)
Returns the contacts where there has been activity since activityStartTime.If activityStartTime is larger than the current date, all contacts with activity since the last log-out are returned. The result set can be filtered by category and action type.
GetMyBizCard()
Returns all data needed to display the logged on person’s business card (company, person, and company interest data).GetMyContact()
Gets the contact belonging to the currently logged-on user.GetMyContacts()
Gets the contacts where the user currently logged in is set as contact owner.GetMyRecentContacts(Integer)
Returns a set of initial contacts.This could be the contacts in a favorites selection, the history list, the diary, or from all sources. If retrieved from the diary it will get appointments for the current and the next day.
GetNameDepartmentDuplicates(String,String)
Gets duplicates based on the contact name and departmentGetPersons(Integer)
Returns an array of all the contact persons for the company card.GetQuoteVersionAddresses(Integer)
Gets the associated billing and invoice quote version addresses.These addresses might be address on the contact, or a custom address.