LogoLogo
English
English
  • General
    • About this documentation
    • What's new
      • 2025.1
        • 2025.1 U3
        • 2025.1 U2
        • 2025.1 U1
      • 2024.5
        • 2024.5 U1
      • 2024.4
      • 2024.3
  • Products
    • BERNARD Mobility Analyser (BMA)
      • Scope of delivery
      • Data sheet
      • Mounting
    • Mobile BERNARD Mobility Analyser (BMA)
      • Scope of delivery
      • Data sheet
      • Installation
      • Charge battery box
    • BERNARD Character Analyser (BCA)
      • Scope of delivery
      • Datasheet
      • Installation
        • Alignment of the BCA
    • BERNARD Mobility Controller (BMC)
      • Data sheet V2.2
      • Operating instructions V2.2
    • B101 & B401
      • Scope of delivery
      • Data sheet
      • Installation
  • Solution areas
    • Traffic survey
      • Traffic counting
      • Turning movement counting
      • Traffic Flow
    • Adaptive traffic control
    • Parking
      • Barrier-free parking
      • Single space parking
  • Control Center
    • Devices
      • Configuration
        • Object classes
      • Device health
      • Schedule
      • Device monitoring
    • Administration
      • Monitoring alerts
      • License management
      • Device update
      • User management
    • Control center API
      • Data analytics API
  • Data Center
    • Counting
      • Configuration of the survey
      • Data analysis
    • Traffic Flow
      • Configuration of a Traffic Flow survey
      • Data analysis
    • Data Center API
  • Bernard Technologies GmbH
    • Support Center
    • Terms and Conditions
Powered by GitBook
On this page
  • How to get the URL for your specific API
  • Example
Export as PDF
  1. Control Center

Control center API

Information on the API for retrieving specific data from the Control Center

PreviousUser managementNextData analytics API

Last updated 9 months ago

You can easily retrieve all settings and information available in the Control Center via an API. Below you will find the Swagger documentation. Here is an example:

In general, we stick to the .

Make sure to include your Tenant ID as a header in the authentication flow.

How to get the URL for your specific API

To get the first part of the URL for your specific API documentation or Swagger UI, you can either contact our or retrieve it from the source code of your Control Center.

In our example, the URL is:

Example

Retrieve device status

  1. call the Swagger UI

  2. the API call gives you information about the device status as follows

{
  "boxStatus": {
    "connectionState": "CONNECTED",
    "runtimeState": "DISABLED"
  },
  "id": "676cac42-f3d6-416d-ac83-3f54f1c0bb43",
  "name": "7th NE parking garage entrance",
  "statusId": "676cac42-f3d6-416d-ac83-3f54f1c0bb43",
  "tags": [
    {
      "name": "Roxxon Energy Corporation"
    }
  ],
  "type": "P100"
}
  1. the different statuses of the devices are defined as follows in the API documentation

  1. you can also retrieve the status of the individual streams. The API provides the following results

[
  {
    "id": "fd02a4c9-5e55-4100-a2fd-d76d16993bce",
    "name": "",
    "model": "traffic-detector-urban-standard-fast",
    "streamStatus": {
      "state": "NOT_OPERATIONAL",
      "errorReason": [
        "ENGINE"
      ]
    },
    "enabled": true
  }
]
BMA Control Center
OAuth 2.0 Client Credentials Flow (Microsoft) documented here
Support
https://bernard-control-center-api-dc814a25.azurewebsites.net/v3/documentation/swagger-ui/index.html#
Box Status