
Use this type of search for retrieving plant documents in the Property 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).
|
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 TitleSCAN Web test site use “L” for Livingston County) |
|
SearchType |
0 = Subdivision Search |
|
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). |
|
ToDocTypeCode |
Document Type Code. Search back until first occurrence of this code. |
|
DocTypeCode1 |
Document Type Code. Include only documents of this type. |
|
DocTypeCode2 |
Document Type Code. Include only documents of this type. |
|
DocTypeCode3 |
Document Type Code. Include only documents of this type. |
|
DocTypeCode4 |
Document Type Code. Include only documents of this type. |
|
Grantor |
Grantor Name or partial name. Include only documents with this grantor name or partial name. |
|
GranteeCode |
Grantee Code. Include only documents with this grantee code. |
|
Grantee |
Grantee Name or partial name. Include only documents with this grantee name or partial name. |
|
SortOrder |
'N' for No Sort. '1' for Sort by First Number Field. '2' for Sort by Second Number Field. '3' for Sort by Date and First Number Field. '4' for Sort by Date and Second Number Field. |
|
ReverseOrder |
'N' for ascending order. 'Y' for reverse (descending) order. |
|
Legal |
Legal or document number to search. Value depends
upon the SearchType. Values can be: |
|
The following parameters are only used if the search type is “Subdivision”. |
|
|
FromBlock |
Starting block. Must be numeric if using ToBlock. |
|
ToBlock |
Ending block number. |
|
FromLot |
Starting lot. Must be numeric if using ToLot. |
|
ToLot |
Ending lot number. |
|
FromUnit |
Starting unit. Must be numeric if using ToUnit. |
|
ToUnit |
Ending unit number. |
|
The following parameter is only used if the search type is “Grantee/Grantor” and is ignored otherwise. |
|
|
GranteeGrantorFlag |
'1' for both grantor and grantee. '2' for grantor only. '3' for grantee only. |
|
PercentMatch |
Soundex percent match. |
|
AltGivenNameFlag |
'Y' to search alternate given names. 'N' to not search alternate given names. |
|
AltSurNameFlag |
'Y' to search alternate surnames. 'N' to not search alternate surnames. |
|
NameOptions |
'E' for exact match. 'S' for names and initials. 'M' for names, initials, and middle as first. |
|
MaxHitCount |
The maximum number of records to be returned (defaults to a system setting if not specified). |
|
The following two parameters apply to all search types. |
|
|
FromDateType |
B = Beginning Date for the Plant |
|
ToDateType |
C = Current Date |
The following samples illustrate how to search for all property index documents posted to lots 3 and 4 of subdivision 2/15A. Referring back to our list of functions in the section titled Primary DAO Functions, the web service call is 'SearchPI' and that is shown in the first example below. In the second example, the DAO Page request has 'QueryName=PISearch' immediately following the question mark in the query statement.

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).
http://tsweb.titlescan.com/Query.aspx?QueryName=PISearch&UserName=tsweb&UserCompany=tss&UserPassword=anywhere&CompanyCode=ATC&SearchType=0&CountyCode=L&Legal=2/15A&FromLot=3&ToLot=4
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.
The following is the XML result set. The DAO Web Service request or the DAO Page Request will return this same result set.
