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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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