Click or drag to resize

ApiClient Class

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.
Main class for getting access to the Anysense API
Inheritance Hierarchy
SystemObject
  Anysense.API.Client.SharedBaseClientApiClient
    Anysense.API.Client.V1ApiClient

Namespace: Anysense.API.Client.V1
Assembly: Anysense.API.Client (in Anysense.API.Client.dll) Version: 1.29.8-dev
Syntax
C#
public class ApiClient : BaseClient<ApiClient>

The ApiClient type exposes the following members.

Constructors
 NameDescription
Public methodApiClientInitializes a new instance of the ApiClient class
Top
Properties
 NameDescription
Public propertyAutoNumber Manages AutoNumbers
Public propertyClients 
Public propertyData Gains access to data
Public propertyExpression Manages regular expressions
Public propertyFilters Manages Filters
Public propertyForms Manages Forms
Public propertyGroups Manages Groups
Public propertyMedias Handles media access
Public propertyReports Handles downloading of reports
Public propertyShare 
Public propertySubDomain
(Inherited from BaseClientT)
Public propertyUsers 
Top
Methods
 NameDescription
Public methodSetAnysenseDbVersion If the client is used for caching data, then it is recommendable to store the current Database version. Use this method to set the current version before any requests to the Api
(Inherited from BaseClientT)
Top
Events
 NameDescription
Public eventAnysenseDbVersionChanged Event triggered when a new Database version is received from the Anysense API.
When this happens, it's recommended to clear the local cached datas, and get everything from scratch.
(Inherited from BaseClientT)
Top
Fields
 NameDescription
Protected field_httpClient
(Inherited from BaseClientT)
Top
See Also