StartSearch method

The StartSearch method requires five parameters: ActiveQuery, ArchiveQuery, StartDate, EndDate and SortField.

  • ActiveQuery: A query adhering to the Experience Analytics active search syntax.
  • ArchiveQuery: A query adhering to dtSearch syntax
  • StartDate: An ISO formatted string representing the earliest date/time for which to return sessions (date should be relate to the user's time zone, as the date is converted to GMT on the server).
  • EndDate: An ISO formatted string representing the latest date/time for which to return sessions (date should be relate to the user's time zone, as the date is converted to GMT on the server).
  • SortField: An integer representing the various post-search sorts that can be applied to a search. The list of sort fields is accessible via the GetSearchSortFields method which provides the ID and text description for each possible sort field.
    • Hit Count - 0
    • Session Index - 1
    • Last Use - 2

To provide the best functionality/availability, StartSearch only initiates the search.