v1

latestOpenAPI 3.0.02026-07-243339471.1 MB
FloorPlan

Assign/Unassign devices to the FloorPlan

This API is used to assign/unassign devices to the FloorPlan. Only devices that are in the unassigned state are eligible for assignment

post/network-monitoring/v1/sitemaps/{site-id}/network-devices-assigned

Request body

Example request

{
  "deviceAssignment": {
    "floorId": "fff2bd91-de81-4097-8420-3ca7f87450fd",
    "assignSerials": [
      "AP00000001"
    ],
    "unassignSerials": [
      "AP00000001"
    ]
  }
}

Response

Devices assigned/unassigned from the FloorMap.

codestring const required

status code.

statusstring const required

final status.

messagestring const required

status message.

Example response

{
  "code": "SUC-001",
  "status": "SUCCESS",
  "message": "Successfully placed",
  "devices": [
    {
      "floor": "fff2bd91-de81-4097-8420-3ca7f87450fd",
      "successDevices": [
        "AP00000001"
      ],
      "failedDevices": [
        "AP00000001"
      ],
      "statusMessage": "Successfully assigned",
      "statusCode": "SUC-001"
    }
  ]
}