Topic: unit_group/update_units
when using (unit_group/update_units) command to Add a new vehicle
to specific group,why all vehicles on that group are removed except the newly added vehicle.
New account creation is currently unavailable. Existing members can continue reading and joining discussions.
when using (unit_group/update_units) command to Add a new vehicle
to specific group,why all vehicles on that group are removed except the newly added vehicle.
Hello
Its common logic for all Wialon Remote API commands - you have to pass all parameters, like all needed units to be in unit group.
Even command name tell about it - unit_group/update_units, not add but update
whats is the way to add one vehicle to specific group without remove vehicles from that group
mabed, You can get all units of Your group(s):
https://hst-api.wialon.com/wialon/ajax. … ur_sid>
or
https://hst-api.wialon.com/wialon/ajax. … ur_sid>
See units' ids in array "u".
You can pass old units' ids + new ones to unit_group/update_units request. Only this way.