Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Productstyle icon link Versiecontroles

Let op: controleer of de hardware en software geschikt zijn voordat u locaties en categorieën aanmaakt.

API-methoden

GET: /Versions/BoardType

Met de API GET: /Versions/BoardType vraagt u het hardwaretype van het apparaat op.

ElementBeschrijving
typeOctalarm Pro

cURL-code:

curl -X 'GET' \
  'http://192.168.10.72/rest_api/1/Versions/BoardType' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTI1MzQ0ODgsIm5iZiI6MTYxMjUzNDQ4OCwianRpIjoiNjY0NzI2NzAtYTRkMi00N2ZmLWFiMjUtNzAyMGYwOTkwNWJhIiwiZXhwIjoxNjEyNTM3OTg4LCJpZGVudGl0eSI6IlJFU1QtQVBJXzAwMDUiLCJmcmVzaCI6ZmFsc2UsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJ1c2VyX2lkIjo1LCJyb2xlX2lkIjo1LCJsYW5ndWFnZSI6Im5sLU5MIn19.6xlCrMjNsKd9Eyq5ieS-MScZe6P1idstMCKPs5dfOd8'

Respons:

{
  "type": "Octalarm Pro"
}

GET: /Versions/Branding

Met de API GET: /Versions/Branding vraagt u de branding van het apparaat op.

ElementBeschrijving
typeOctalarm Pro, ARA Pro, klantspecifieke merknaam.

cURL-code:

curl -X 'GET' \
  'http://192.168.10.72/rest_api/1/Versions/Branding' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTI1MzQ0ODgsIm5iZiI6MTYxMjUzNDQ4OCwianRpIjoiNjY0NzI2NzAtYTRkMi00N2ZmLWFiMjUtNzAyMGYwOTkwNWJhIiwiZXhwIjoxNjEyNTM3OTg4LCJpZGVudGl0eSI6IlJFU1QtQVBJXzAwMDUiLCJmcmVzaCI6ZmFsc2UsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJ1c2VyX2lkIjo1LCJyb2xlX2lkIjo1LCJsYW5ndWFnZSI6Im5sLU5MIn19.6xlCrMjNsKd9Eyq5ieS-MScZe6P1idstMCKPs5dfOd8'

Respons:

{
  "type": "ARA Pro"
}

GET: /Versions/Software

Met de API GET: /Versions/Software vraagt u een overzicht van de beschikbare softwareversies op.

ElementBeschrijving
versionVersienummer.
dateDatum en tijd van de release.
descriptionOmschrijving van de release.

cURL-code:

curl -X 'GET' \
  'http://192.168.10.72/rest_api/1/Versions/Software' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTI1MzQ0ODgsIm5iZiI6MTYxMjUzNDQ4OCwianRpIjoiNjY0NzI2NzAtYTRkMi00N2ZmLWFiMjUtNzAyMGYwOTkwNWJhIiwiZXhwIjoxNjEyNTM3OTg4LCJpZGVudGl0eSI6IlJFU1QtQVBJXzAwMDUiLCJmcmVzaCI6ZmFsc2UsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJ1c2VyX2lkIjo1LCJyb2xlX2lkIjo1LCJsYW5ndWFnZSI6Im5sLU5MIn19.6xlCrMjNsKd9Eyq5ieS-MScZe6P1idstMCKPs5dfOd8'

Respons:

{
  "versions": [
    {
      "version": "2.5.0",
      "date": "2023-05-11 09:00:00",
      "description": "Dupline support (max 25 modules), multiple alarms per service group/call list, pronunciation support, absence registration, battery renewal period increased to 3 years, miscellaneous bug fixes"
    },
    {
      "version": "2.5.1",
      "date": "2023-12-11 09:00:00",
      "description": "Duty schedule improvements"
    },
    {
      "version": "2.5.2",
      "date": "2024-01-10 09:00:00",
      "description": "ARA multiple alarms improvements"
    },
    {
      "version": "2.5.3",
      "date": "2024-03-22 09:00:00",
      "description": "GSM signal improvements and GSM PIN auto-fill fix"
    }
  ]
}

GET: /Versions/Update

Met de API GET: /Versions/Update vraagt u de update­status van het systeem op.

ElementBeschrijving
latestU kunt de melder, indien beschikbaar, naar deze versie updaten.
versionDit is de huidige versie van de melder.
rollbackU kunt de melder, indien beschikbaar, bij problemen naar deze versie terugzetten.

cURL-code:

curl -X 'GET' \
  'http://192.168.10.72/rest_api/1/Versions/Update' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTI1MzQ0ODgsIm5iZiI6MTYxMjUzNDQ4OCwianRpIjoiNjY0NzI2NzAtYTRkMi00N2ZmLWFiMjUtNzAyMGYwOTkwNWJhIiwiZXhwIjoxNjEyNTM3OTg4LCJpZGVudGl0eSI6IlJFU1QtQVBJXzAwMDUiLCJmcmVzaCI6ZmFsc2UsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJ1c2VyX2lkIjo1LCJyb2xlX2lkIjo1LCJsYW5ndWFnZSI6Im5sLU5MIn19.6xlCrMjNsKd9Eyq5ieS-MScZe6P1idstMCKPs5dfOd8'

Respons:

{
  "latest": "-",
  "version": "2.7.1",
  "rollback": "-"
}