Skip to main content

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:


XML
<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:


XML
<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 NameDescription
AssignContactstoAgentAssigns a
SmartView for Advisors
user to multiple contact records under specific conditions.
CheckDuplicateContactChecks the contact information submitted in the request against existing contacts in the SmartOffice database to determine whether a matching contact exists.
CreateSVAdvisorUserCreates a
SmartView for Advisors
user account for a specified advisor contact.
DelContactRemoves a contact from a
set
.
DelContactSubObjsDeletes all phone number, address and e-mail/web address entries from a contact record.
DeleteActivityContactRemoves a contact from a calendar activity.
DisableUserChanges the status of a SmartOffice user account to Disabled.
DynamicReportRetrieve the current data for a
Dynamic Report
.
DynamicReportFilterRetrieves the default filter syntax of a
Dynamic Report
.
DynamicReportFilterDetailReturns the detailed default filter syntax of a
Dynamic Report
.
GetActColorsReturns a list of the colors used to help identify activity types and subtypes in the calendar.
GetAdvisorCommissionRetrieves all payable commission records linked to a specified
SmartView for Advisors
user account.
GetConfigurationRetrieves the content of an element in the SmartOffice server configuration file.
GetContactDOBReturns contacts whose birth dates fall within a specified date range and who are assigned to a particular SmartOffice user.
GetContactsForEmailReturns all contacts in SmartOffice who have a specified e-mail addresses.
GetCustomLabelDetailReturns the label assigned to a particular custom field for a particular SmartOffice module and record type.
GetCustomLabelsReturns a list of all custom field labels for a particular SmartOffice module and record type.
GetDeletedContactsReturns the object IDs of all contacts that exist in the
Deleted Records
area of SmartOffice.
GetDeletedPoliciesReturns the object IDs of all insurance policies that exist in the
Deleted Records
area of SmartOffice.
GetHouseholdMemberRetreives a list of all members of a contact's
household
.
GetInvtMaturityDateRetrieves all
investment positions
that will mature within a specified date range for all contacts assigned to a particular SmartOffice user.
GetOfficeMultiFactorAuthenticationIndicates whether an office has
two-step authentication
enabled.
GetPolicyInvtDataRetrieves details of a specified contact's policy and investment holdings.
GetSiteNameReturns the name of the site where the SmartOffice server is hosted.
GetSystemTimeReturns the current date and time on the SmartOffice server.
GetUnassignedAccountsReturns the object IDs of all investment accounts in an office that have a particular account number and are not assigned to a contact.
GetUserLicenseReturns the names and IDs of licenses enabled for a particular SmartOffice user.
GetUserMultiFactorAuthenticationIndicates whether a user account has
two-step authentication
enabled.
InsertKeyRelationsAdds a key relation to a contact record.
InsertRequirementGenerates requirements for a policy or pending case based on the requirement guidelines defined for the associated carrier and/or product.
ProcessCustomChoiceInserts, modifies or deletes custom lookup choices.
ProcessSmartPadArchiveArchives a SmartPad entry or restores an archived SmartPad entry.