Click or drag to resize

SearchRequest Class

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Inheritance Hierarchy
SystemObject
  AnySenseService.Entities.API.PublicAPI.V1.RequestsSearchRequest

Namespace: AnySenseService.Entities.API.PublicAPI.V1.Requests
Assembly: AnySenseService.Entities.API.PublicAPI.V1 (in AnySenseService.Entities.API.PublicAPI.V1.dll) Version: 1.31.10+d671d89394079ff2411e503098d3578f08c2de86
Syntax
C#
public class SearchRequest

The SearchRequest type exposes the following members.

Constructors
 NameDescription
Public methodSearchRequestInitializes a new instance of the SearchRequest class
Top
Properties
 NameDescription
Public propertyDataState Defines the DataState of the FormData that should be returned
Public propertyDaysBackObsolete.
Public propertyFilters List of searchfilters that should be applied to the search
Public propertyIgnoreFilter If this is set to true, the service will ignore any predefined DataFilters
Public propertyIgnorePaging If true, the return size limits will be disabled
Public propertyMediaMode Defines how MediaData is returned from the server
Public propertyOnlyForUserObsolete.
Public propertyOperator Defines the operator that should be used between each filter
Public propertyPage The page (zero based) to be retrieved.
Public propertyParentDataIds By submitting a list of ParentDataIds, there will only be returned data, that is subform rows for those ParentDataIds.
This is only usable when searching in forms that is a subform to another form.
Public propertyReturnSize Defines how many FormData objects there should be returned. This value is also uused for page-size.
Public propertyRowVersion Set this if you have previously stored the rowversion and doing a synchronization, only later data will be received then. Often used together with ReturnSize parameter. If this is filled, SearchFilters in Filters will be ignored.
Public propertySortByColumn The column index that the result should be sorted by.
Additional sort by indexes:
-1: Submitter username
-2: Submitted date
-3: Rowversion column
-4: Last updater username
-5: Last updated date
-6: Data Id
Public propertySortDescending If true sort the result descending.
Public propertySubFormDataMode Defines how SubForm data should be returned from the service
Public propertySubFormDataOrder Defines how returned subform data should be ordered
Public propertyVersionId The versionid of the Form
Top
See Also