Table of Contents

Class QueryFilters

Namespace
KartaViewSharp.V2.Request
Assembly
KartaViewSharp.dll
public abstract class QueryFilters
Inheritance
QueryFilters
Derived
Inherited Members

Constructors

QueryFilters()

protected QueryFilters()

Properties

Id

Unique identifier of an entity, query for a set of ids is possible, separated by ,. For example: id=545,546,547

public int[]? Id { get; set; }

Property Value

int[]

IdInterval

Unique identifier of an entity, query for an interval of ids is possible, separated by -. For example: idInterval=545-547

public Range? IdInterval { get; set; }

Property Value

Range?

ItemsPerPage

Default: 40 Example: itemsPerPage=10 Number of items on a page.

public int ItemsPerPage { get; set; }

Property Value

int

OrderBy

Example: orderBy=dateAdded Sorting by a particular field, see full list below in the response example section.

public string OrderBy { get; set; }

Property Value

string

OrderDirection

Enum: "asc" "desc" Sorting direction.

public OrderDirection OrderDirection { get; set; }

Property Value

OrderDirection

Page

Retrieve data from the desired page number.

public int? Page { get; set; }

Property Value

int?

Units

Default: "metric" Enum: "metric" "imperial" The type of the distance measurement.

public Units Units { get; set; }

Property Value

Units