SearchFilterFilterValues Property |
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.
A list of filter values.
Depending on the corresponding form element type various filter formats should be assigned to each list item.
TextBoxNumeric element can be filtered either by providing a specific number (231 or 823.12 etc.), a range ([3;10] etc.) or a create/less than value (>5 or <100 etc.).
There can also be performed an equals filtering on multiple values by submitting a List of integers.
CheckBox and ToggleSwitch elements should be filtered by a bool value (true/false).
DatePicker and DateTimePicker elements should be filtered by using a json encoded object with the following format:
{ "start" : startDateTimeObject, "end" : endDateTimeObject } example: { "start" : "2013-01-10T00:00:00.000Z", "end" : "2013-01-11T00:00:00.000Z" }
TimePicker elements should be filtered similar to DatePicker and DateTimePicker but the start and end properties should only contain the time.
example: { "start" : "10:58:03", "end" : "12:58:05" }
TextBoxText can be filtered by a single value (performs a LIKE search) or multiple values by making an array (performing a EQUALS search).
SubForms can be filtered by json serializing a
SearchFilter object
All other form element types will be filtered similar to how username is filtered (that is - "like string").
Namespace: AnySenseService.Entities.API.PublicAPI.V1.DTOs.DataAssembly: AnySenseService.Entities.API.PublicAPI.V1 (in AnySenseService.Entities.API.PublicAPI.V1.dll) Version: 1.31.11+e7fd483bc62011074c33f1b0082717c0012050d5
Syntaxpublic List<string> FilterValues { get; set; }
Property Value
ListString
See Also