Assigning device to a group using api

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.

Anton Tananaev6 years ago

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?

Anton Tananaev6 years ago

You can request devices by ids, but I don't think you can by group.