COLNEO Pro 1.0
Loading...
Searching...
No Matches
ApplicationAPI

Description

Interface for Application API. Register with "cnApplicationAPI".

Since
1.0.0, 2025

Functions

ApiJsonResponse getAccessToken ()
 
ApiJsonResponse getInfo ()
 
ApiJsonResponse getUser ()
 
SETTINGS
ApiJsonResponse setLanguage (QString language)
 
ApiJsonResponse getLanguage ()
 

Function Documentation

◆ getAccessToken

ApiJsonResponse getAccessToken ( )
slot

Get Access Token of logged in user. The user must confirm access to the access token.

Since
1.0, Apr 2025

◆ getInfo

ApiJsonResponse getInfo ( )
slotinherited

Get application information.

Returns
data : {
name : "colneopro",
displayName : "COLNEO pro", // not available for COLNEO console
version : "1.0.0",
build : "123",
builddate : "2024-11-01",
organization: "COLNEO GmbH",
domain : "www.colneo.com",
dirPath : "C:/Software/Colneo"
}
Since
1.0, Dec 2024

◆ getLanguage

ApiJsonResponse getLanguage ( )
slot

Get language of application/GUI

Returns
Since
1.0, 05.2025

◆ getUser

ApiJsonResponse getUser ( )
slotinherited

Get data of the user currently logged in.

Returns
data :
{
}
Since
1.0, Apr 2025

◆ setLanguage

ApiJsonResponse setLanguage ( QString language)
slot

Set language of GUILanguage settings are adopted after the program is restarted.

Since
1.0, 2024