Click or drag to resize

SearchCriteria Class

Search criteria used in the "Search" service.
Inheritance Hierarchy
SystemObject
  DataContractBase
    Tse.EasyBook.Server.DataContractsSearchCriteria

Namespace:  Tse.EasyBook.Server.DataContracts
Assembly:  Tse.EasyBook.Server.DataContracts (in Tse.EasyBook.Server.DataContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class SearchCriteria : DataContractBase

The SearchCriteria type exposes the following members.

Constructors
  NameDescription
Public methodSearchCriteria
Top
Properties
  NameDescription
Public propertyAttributes
The attributes and their desired values to include in the search
Public propertyCategory
The lower-most rental object category to include in the search
Public propertyCategorySpecificId
Specifies an exact category to use instead of Category.
Public propertyCount
The number of results returned starting from the offset position.
Public propertyCurrencyIsoCode
The ISO 4217 currency code to perform the search in.
Public propertyCustomerReviews
The elements in this list are used by the rental object search to find rental objects with an average grade score equal to or greater than the values provided. If No CustomerReviewCategory is provided for the elements in the list then the requested grade score is compared with the total average grade score on the rental object.
Public propertyGeographyCriteria
The geographic search criteria
Public propertyCode exampleGeometricWellKnownText
Coordinate to a point of interest to find houses nearby or within 1 or more coordinates forming a polygon. Format is WKT: See Wiki: http://en.wikipedia.org/wiki/Well-known_text Important notes regarding usage:

1. When parsing POLYGON structures ensure that start and end points are ALWAYS the same! 2. For POLYGON structures the preferable orientation of points are anticlockwise. 3. For all coordinate pairs make sure that the order is: long/lat and NOT lat/long! 4. When parsing a single POINT the resultset can be sorted by inserting a sorting expression in the list: Sorting. Use the enummeration value: RentalObjectSortOptionEnum.PointDistance. 5. When parsing a single POINT filter the resultset using PoiKmRadius to disregard rental objects outside the maximum distance. 6. If the coordinate structure is invalid the search ignores the geodetic search criteria.

Public propertyIncludeAttributes
This list contains the IDs of attributes that should be included in the search result.
Public propertyIncludeCatalogueText
Include Catalogue text in this search
Public propertyIncludePriceCalculationDetails
Include Price Calculation Details or not. Please remember including the details will costs some performance.
Public propertyMaxPrice
The maximum price of a vacancy returned by the search
Public propertyMinDiscount
The minimum amount of discount that should be given of a vacancy returned by the search
Public propertyMinPrice
The minimum price of a vacancy returned by the search
Public propertyOffset
The offset of which the result set should start at
Public propertyPoiKmRadius
Maximum distance allowed from a coordinate supplied in to the rental object.
Public propertyResultType
The type of search result when searching for rental objects
Public propertySingleSearchPhrase
A search phrase expressed as a list of rental object numbers divided by comma to narrow the search to specific rental objects. Example: 62-3433,54-3456, etc..
Public propertySorting
A list of sorting expressions to be used for sorting purposes
Public propertyTypes
A list of rental object type ID's to include in the search
Public propertyVacancyOptions
Vacancy options for the search criteria
Public propertyVacationTypes
When one or more vacation type Id(s) are added to this list, the search result will only contain rental objects that have at least one of the requested vacation types. The following rules apply for the 3 different search types: 1) Specific search: The vacation type is available for one or more days within the searched booking period 2) Wide search: The vacation type is available for one or more days wihtin the specified search window 3) Periodless search: The vacation type is available for one or more days after the current date
Top
See Also