AzureCosmosDbGetGeofencesOfCompany Method
Get geofences of devices or environments belonging to a company.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<GridResults<GeofenceReferenceDto>> GetGeofencesOfCompany(
UserSessionData user,
bool isEnvironments,
IReadOnlyList<FilterItem> filters,
IReadOnlyList<SortingItem> sorting,
ushort pageSize,
ushort pageNumber,
CancellationToken cancellationToken
)
- 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
TaskGridResultsGeofenceReferenceDtoFound geofences, if any.
IAzureCosmosDbGetGeofencesOfCompany(UserSessionData, Boolean, IReadOnlyListFilterItem, IReadOnlyListSortingItem, UInt16, UInt16, CancellationToken)