Skip to content

Neat Devices API

This file contains functions to manage operations related to Neat devices, such as fetching all devices with filters.

Functions

POST getAllDevices(filters)

Fetches all Neat devices based on the provided filters.

Input:

  • filters (object): Contains the following optional properties:
  • locationName (string): Name of the location.
  • regionName (string): Name of the region.
  • roomName (string): Name of the room.

Output: List of devices matching the filters.

Request Details:

  • URL: {deviceService}/neatDevice/all/allDevices
  • Method: POST
  • Data:
    {
      "locationName": "all",
      "regionName": "all",
      "roomName": "all"
    }
    

(Values default to "all" if not provided.)