KentixONE ReST API

All KentixONE products have a ReST API. The ReST API is a programming interface based on the paradigms and behavior of the World Wide Web (WWW). The ReST API has reached industry standard status and is used by vendors such as AWS, VMware, Azure and many cloud providers. KentixONE-based systems thus offer completely new integration possibilities and an enormous expansion of possible applications in digital business models and cloud-based solutions.

All API and SNMP examples shown here refer to the current versions of the respective products at the time of writing. These are subject to ongoing development.
The ReST API as well as the SNMP interfaces are delivered according to the documentation. KENTIX assumes that the user has basic knowledge of these technologies when using these interfaces.
In order to support you optimally in the implementation of your individual project requirements, we offer suitable support packages. You can easily book a corresponding time contingent in the Kentix Shop.

Integration ReST API

ReSt API Documentation

In addition to the documentation, Kentix also provides you with the OpenAPI schema

API application examples

Here you can find first application examples for the use of the API.

Open door

With Windows Power Shell

Create a shortcut on the desktop with the target

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "& 'C:\Users\Administrator\Desktop\open_door.ps1'"

[Net.ServicePointManager]::SecurityProtocol +='tls12' 
$urikentix = "https://<IP>/api/doorlocks/<doorlock_id&gt/open"
$bearer_token = '<user_bearer_token'

 $Headers = @{
    Authorization = "Bearer $bearer_token"
}
 add-type @"
    using System.Net;
    using System.Security.Cryptography.X509Certificates;
    
    public class IDontCarePolicy : ICertificatePolicy {
        public IDontCarePolicy() {}
        public bool CheckValidationResult(
            ServicePoint sPoint, X509Certificate cert,
            WebRequest wRequest, int certProb) {
            return true;
        }
    }
"@
[System.Net.ServicePointManager]::CertificatePolicy = new-object IDontCarePolicy 


Invoke-WebRequest -uri $urikentix -Headers $Headers  -Method PUT | Out- Null

Was this article helpful?

Related Articles