how do I assign the device to the group using API?. in my case I have a group called supervisor {id: "1", name: "supervisor"} and the device details are {id: "1", name: "KA01RA1993",uniqueId: "KA01RA1993",groupId: 0} and is it possible to access all the positions or devices which belong to the group supervisor.
Check what official web app sends. It uses same API.
Now I'm able to assign the device to a group.
How can I access the DEVICES which belong to that particular GROUP?
You can request devices by ids, but I don't think you can by group.
how do I assign the device to the group using API?. in my case I have a group called supervisor {id: "1", name: "supervisor"} and the device details are {id: "1", name: "KA01RA1993",uniqueId: "KA01RA1993",groupId: 0} and is it possible to access all the positions or devices which belong to the group supervisor.