General Index Search

Use this type of search for retrieving plant documents using the General Index.  The parameters listed below will be used by both DAO Web Services and DAO Page Requests.  For Web Services, the Parameters will be submitted as part of the function call and will need to be passed in the sequence shown in this Parameters table.  Note that in the Visual Studio development environment the function call arguments will show in a pop-up help window as the programmer types in the software code.  For a Page Request, the Parameter's name will be part of the submitted query followed by an equal sign and the desired value (see the example later in this section).  

Parameters

Parameter

Value(s)

CompanyCode

Company Code (see Company Code Parameter for details).  For testing purposes on the TitleSCAN Web test site use "ATC".

CountyCode

County Code.  For testing purposes on the TitleSCAN Web test site use “L” for Livingston County.

SearchType

S =  Soundex search
A = Alphabetic search

IndividualCompanyCode

I =  Individual search
C =Company search

PrincipalParty

Name to Search formatted as:
SURNAME; FIRSTNAME INITIAL/Additional First Names and Middle Initials each separated by a slash.  See the TitleSCAN Web User's Manual for additional details.

FromDate

mm/dd/yyyy (beginning date).  This is an optional parameter and if it is not specified, the search will default to a search of the entire plant (all dates).

ToDate

mm/dd/yyyy (ending date).   This is an optional parameter and if it is not specified, the search will default to a search of the entire plant (all dates).

DocTypeCode

Include only documents of this type.  This is an optional parameter and if it is not specified, the search will show all document types.

PercentMatch

Soundex percent match (soundex searches only).  This is an optional parameter and if it is not specified, the search will default to the system value.

AltGivenNameFlag

Y = Search applicable names in the Alternate Given Name or Nickname Table
N = Do not search nicknames
This is an optional parameter and if it is not specified, it will default to Y.

AltSurnameFlag

Y = Search applicable names in the Alternate Surname Table
N = Do not search alternate surnames
This is an optional parameter and if it is not specified, it will default to Y.

NameOptionCode

S = Perform Standard search of names and initials
M = Perform Standard search plus search middle name as first name
E = Perform Exact Match search of the name exactly as entered
This is an optional parameter and if it is not specified, it will default to M.

MaxHitCount

The maximum number of records to be returned (defaults to a system setting if not specified).

FromDateType

B = Beginning Date for the Plant
S = Specific Date

ToDateType

C = Current Date
P = Plant Date
S = Specific Date

 

Sample

The following samples illustrate how to search for all general (name) index documents for ‘Ed Johnson’ using a soundex search.  Referring back to our list of functions in the section titled Primary DAO Functions, the web service call is 'SearchGI' and that is shown in the first example below.  In the second example, the DAO Page request has 'QueryName=GISearch' immediately following the question mark in the query statement.

DAO Web Service

NOTE:  'DAODataService' in the above example is the name given to a web reference.  Please refer to the section Using DAO Web Services which describes creating the web reference.  Also note that the Token parameter above will need to be obtained via a call to the 'DAOLoginService' (see the User Authentication Parameters section).
 

DAO Page Request

http://tsweb.titlescan.com/Query.aspx?QueryName=GISearch&UserName=tsweb&UserCompany=tss&UserPassword=anywhere&CompanyCode=ATC&SearchType=S&CountyCode=L&InidivualCompanyCode=I&PrincipalParty=JOHNSON;%20ED

 

IMPORTANT:  The UserName, UserCompany, and UserPassword parameters shown in the sample query above are example values only and will not work.  If you are developing software that uses the TitleSCAN Direct Access Option and wish to test that software using the TitleSCAN Web demonstration site at http://tsweb.titlescan.com, contact TitleSCAN Systems to obtain an account on that system.  When you obtain the account, you will be given UserName, UserCompany, and UserPassword values.  Substitute those values in the Query string above.
 

Result

The following is the XML result set.  The DAO Web Service request or the DAO Page Request will return this same result set.