5.6 Search Resources

5.6.1 ThruPublicSearchCriteria Structure
ThruPublicSearchCriteria structure contains criteria for the search over Thru files and folders.

Item Name

Data Type

Sample Value

Comments

FolderID

Integer

0QN8H2VKTGIWE

Indicates the folder from which to start the search

NameCriteria

String


String representing the search criteria for the name of Thru file system object

NameCriteriaMatchAll

Boolean

True

Indicates whether all criteria passed in NameCriteria field should be matched

DescriptionCriteria

String


String representing the search criteria for the description of Thru file system object

DescriptionCriteriaMatchAll

Boolean

True

Indicates whether all criteria passed in DescriptionCriteria field should be matched

KeywordCriteria

String

12*

String representing the search criteria for the keywords of Thru file system object

KeywordCriteriaMatchAll

Boolean

True

Indicates whether all criteria passed in KeywordCriteria field should be matched

LastModifiedByUsers

Collection

Collection of user unique identifiers

DateLastModifiedStart

DateTime

Date and time when Thru file system object has been modified. Start of Range (UTC)

DateLastModifiedEnd

DateTime

Date and time when Thru file system object has been modified. End of Range (UTC)

Recursive

Boolean

True

Enable/disable recursive search over folder tree

Sample

folderId=0QN8H2VKTGIWE&NameCriteria=*&
NameCriteriaMatchAll=true&DescriptionCriteria=*&
DescriptionCriteriaMatchAll=true&KeywordCriteria=12*&
KeywordCriteriaMatchAll=true&LastModifiedByUsers=&
DateLastModifiedStart=&DateLastModifiedEnd=&Recursive=true

Data Transfer Object

public class ThruPublicSearchCriteria
{
  public string FolderId
  public string NameCriteria
  public bool NameCriteriaMatchAll
  public string DescriptionCriteria
  public bool DescriptionCriteriaMatchAll
  public string KeywordCriteria
  public bool KeywordCriteriaMatchAll
  public string[] LastModifiedByUsers
  public ThruServerDateTime DateLastModifiedStart
  public ThruServerDateTime DateLastModifiedEnd
  public bool Recursive
}