v1

latestOpenAPI 3.0.02026-07-243339471.1 MB
FloorPlan

Create zone

Create zones on the floor, returns a response indicating the success or failure of the operation.

post/network-monitoring/v1/sitemaps/{site-id}/floors/{floor-id}/zones

Path parameters

site-idstring const required
Example:16a-aad7-4070-8a19-fd6b8e1ff012

Id of a site where zones are associated.

floor-idstring required
Example:fff2bd91-de81-4097-8420-3ca7f87450fd

Id of a floor where zones are associated

Request body

Example request

{
  "items": [
    {
      "id": "16a-aad7-4070-8a19-fd6b8e1ff012",
      "zoneName": "hall"
    }
  ]
}

Response

Created zones successfully

codestring const

status codes.

status'SUCCESS' | 'INVALID_OPERATION' | 'NOT_FOUND' | 'FAILURE' | 'PARTIAL_SUCCESS'

Example response

{
  "code": "create-success"
}