Last updated: 2024-06-07
Method Operation
In this topic:
Overview
The method operation enables client applications to make calls to SmartOffice's predefined business rules. SmartIntegrator parses the request XML to get all the parameters and then calls the corresponding method before finally wrapping the result in the response XML.
Each method has different parameters and return values. All available methods are listed in the API Dictionary; many of the most commonly used methods are documented here.
The following example method request sends a request to the GetContactDOB method, which returns all contacts whose birth dates fall within a specified date range and who are assigned to a particular SmartOffice user:
<request version="1.0">
<header>...</header>
<method>
<GetContactDOB>
<UserID>User.1.2</UserID>
<FromDate>1950-01-01</FromDate>
<ToDate>1955-12-31</ToDate>
</GetContactDOB>
</method>
</request>In this instance, the response returns two contacts:
<response version="1.0">
<header/>
<method>
<GetContactDOB>
<Contact id="Contact.1.12" _type="obj">
<FirstName>Paulette</FirstName>
<LastName>Garner</LastName>
<Person id="Person.1.12" _type="obj">
<Dob>1952-07-03</Dob>
</Person>
</Contact>
<Contact id="Contact.1.14" _type="obj">
<FirstName>Genevieve</FirstName>
<LastName>Bates</LastName>
<Person id="Person.1.14" _type="obj">
<Dob>1954-10-16</Dob>
</Person>
</Contact>
</GetContactDOB>
</method>
</response>Documented Methods
This section links to documentation covering many commonly used methods.
This is not an exhaustive list of available methods. For a complete list, refer to the API Dictionary.
| Method Name | Description |
|---|---|
| AssignContactstoAgent | Assigns a SmartView for Advisors user to multiple contact records under specific conditions. |
| CheckDuplicateContact | Checks the contact information submitted in the request against existing contacts in the SmartOffice database to determine whether a matching contact exists. |
| CreateSVAdvisorUser | Creates a SmartView for Advisors user account for a specified advisor contact. |
| DelContact | Removes a contact from a set . |
| DelContactSubObjs | Deletes all phone number, address and e-mail/web address entries from a contact record. |
| DeleteActivityContact | Removes a contact from a calendar activity. |
| DisableUser | Changes the status of a SmartOffice user account to Disabled. |
| DynamicReport | Retrieve the current data for a Dynamic Report . |
| DynamicReportFilter | Retrieves the default filter syntax of a Dynamic Report . |
| DynamicReportFilterDetail | Returns the detailed default filter syntax of a Dynamic Report . |
| GetActColors | Returns a list of the colors used to help identify activity types and subtypes in the calendar. |
| GetAdvisorCommission | Retrieves all payable commission records linked to a specified SmartView for Advisors user account. |
| GetConfiguration | Retrieves the content of an element in the SmartOffice server configuration file. |
| GetContactDOB | Returns contacts whose birth dates fall within a specified date range and who are assigned to a particular SmartOffice user. |
| GetContactsForEmail | Returns all contacts in SmartOffice who have a specified e-mail addresses. |
| GetCustomLabelDetail | Returns the label assigned to a particular custom field for a particular SmartOffice module and record type. |
| GetCustomLabels | Returns a list of all custom field labels for a particular SmartOffice module and record type. |
| GetDeletedContacts | Returns the object IDs of all contacts that exist in the Deleted Records area of SmartOffice. |
| GetDeletedPolicies | Returns the object IDs of all insurance policies that exist in the Deleted Records area of SmartOffice. |
| GetHouseholdMember | Retreives a list of all members of a contact's household . |
| GetInvtMaturityDate | Retrieves all investment positions that will mature within a specified date range for all contacts assigned to a particular SmartOffice user. |
| GetOfficeMultiFactorAuthentication | Indicates whether an office has two-step authentication enabled. |
| GetPolicyInvtData | Retrieves details of a specified contact's policy and investment holdings. |
| GetSiteName | Returns the name of the site where the SmartOffice server is hosted. |
| GetSystemTime | Returns the current date and time on the SmartOffice server. |
| GetUnassignedAccounts | Returns the object IDs of all investment accounts in an office that have a particular account number and are not assigned to a contact. |
| GetUserLicense | Returns the names and IDs of licenses enabled for a particular SmartOffice user. |
| GetUserMultiFactorAuthentication | Indicates whether a user account has two-step authentication enabled. |
| InsertKeyRelations | Adds a key relation to a contact record. |
| InsertRequirement | Generates requirements for a policy or pending case based on the requirement guidelines defined for the associated carrier and/or product. |
| ProcessCustomChoice | Inserts, modifies or deletes custom lookup choices. |
| ProcessSmartPadArchive | Archives a SmartPad entry or restores an archived SmartPad entry. |