SysInfo

Represents system information and configuration for the aAC (acre Access Control) platform

This is the information pertaining to the server.

SysInfo Properties

SysInfo

Field Type Inherited from Description
AacClientUrl String SysInfo Gets or sets the URL for the Access Control Client web application
EventPublisherUrl String SysInfo Gets or sets the URL for the event publisher service
FargoConnectApiUrl String SysInfo Gets or sets the URL for the Fargo Connect API
FitScriptEngineUrl String SysInfo Gets or sets the URL for the FIT script engine service
GalleryIsEnabled Boolean SysInfo Gets or sets whether the Gallery feature is enabled
LicenseServerUrl String SysInfo Gets or sets the URL for the license server
ReleaseNotes List<ReleaseNote> SysInfo Gets or sets the release notes for the current version
ServerId String SysInfo Gets or sets the unique server identifier
ServerTime DateTime SysInfo Gets or sets the current server time
UapBrokerUrl String SysInfo Gets or sets the URL for the UAP broker
Version String SysInfo Gets or sets the aAC software version

JSON Structure of SysInfo

{
   "AacClientUrl"	:	"String",
   "EventPublisherUrl"	:	"String",
   "FargoConnectApiUrl"	:	"String",
   "FitScriptEngineUrl"	:	"String",
   "GalleryIsEnabled"	:	"Boolean",
   "LicenseServerUrl"	:	"String",
   "ReleaseNotes"	:	"List\<[ReleaseNote](/object-model/releasenote)\>",
   "ServerId"	:	"String",
   "ServerTime"	:	"DateTime",
   "UapBrokerUrl"	:	"String",
   "Version"	:	"String"
}

Get Sys Date Time

Example in C#

// Returns: DateTime
var dateTime = await client.GetSysDateTime();

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/sysinfo/datetime \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' 
            

Get Sys Info

Example in C#

// Returns: SysInfo
var sysInfo = await client.GetSysInfo();

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/sysinfo \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' 
            

Refresh Async

Example in C#

// Returns: Boolean
var item = await client.RefreshAsync();

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/token \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/x-www-form-urlencoded' \
               -d 'refresh_token=TOKEN_HERE&grant_type=refresh_token&client_id=consoleApp&client_secret=consoleSecret'