Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

General request format:

GET http://IP-address:port/web2/secure/configuration/zones

Request example:

GET http://127.0.0.1:8085/web2/secure/configuration/zones

Response example:

JSON:

[
  {
    "id": "1",
    "name": "Zone 1",
    "regions": [
      {
        "id": "1.1",
        "zoneId": "1",
        "name":"Region 1.1",
        "zoneDescription": "Zone description"
      }
    ]
  },
  {
    "id": "2",
    "name": "Zone 2",
    "regions": [
      {
        "id": "2.1",
        "zoneId": "2",
        "name": "Region 2.1",
        "zoneDescription": "Zone description"
      }
    ]
  }
]

XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<zones>
  <zone>
    <id>1</id>
    <name>Zone 1</name>
    <regions>
      <id>1.1</id>
      <name>Region 1.1</name>
      <zoneDescription>Zone description</zoneDescription>
      <zoneId>1</zoneId>
    </regions>
  </zone>
  <zone>
    <id>2</id>
    <name>Zone 2</name>
    <regions>
      <id>2.1</id>
      <name>Region 2.1</name>
      <zoneDescription>Zone description</zoneDescription>
      <zoneId>2</zoneId>
    </regions>
  </zone>
</zones>

Response parameters:

ParameterDescription
idID of the zone/region
nameName of the zone/region in Axxon PSIM
zoneDescriptionZone description
  • No labels