IAzureCosmosDbGetGeofencesOfCompany Method

Get geofences of devices or environments belonging to a company.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<GridResults<GeofenceReferenceDto>> GetGeofencesOfCompany(
	UserSessionData user,
	bool isEnvironments,
	IReadOnlyList<FilterItem> filters,
	IReadOnlyList<SortingItem> sorting,
	ushort pageSize,
	ushort pageNumber,
	CancellationToken cancellationToken
)

Parameters

user  UserSessionData
Currently signed-in user.
isEnvironments  Boolean
If , query EnvironmentDto's. Otherwise, DeviceDto's.
filters  IReadOnlyListFilterItem
Filters to apply
sorting  IReadOnlyListSortingItem
How to sort the items
pageSize  UInt16
Size of the table page
pageNumber  UInt16
Amount of items to skip
cancellationToken  CancellationToken
Cancellation token

Return Value

TaskGridResultsGeofenceReferenceDto
Found geofences, if any.

See Also