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 Versies

Voordat locaties en categorieën worden aangemaakt, kan het nodig zijn om te controleren of bepaalde zaken, zoals hard- en software, geschikt zijn.

"Get: /Versions/BoardType"

Met de API "Get: /Versions/BoardType" kan het hardware type opgevraagd worden.

ElementBeschrijving
typeOctalarm Touch, Octalarm 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" kan de branding opgevraagd worden.

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" kan een overzicht van de software versies opgevraagd worden.

ElementBeschrijving
versionVersienummer
dateTimestamp 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" kan de update status opgevraagd worden.

ElementBeschrijving
latestIndien beschikbaar kan de melder updaten naar deze versie
versionHuidige versie
rollbackIndien beschikbaar kan de melder bij problemen downgraden naar deze versie

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.6.0",
  "rollback": "-"
}