1

unit_group/update_units

Тема: 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.

2

unit_group/update_units

Re: unit_group/update_units

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

3

unit_group/update_units

Re: unit_group/update_units

whats is the way to add one vehicle to specific group without remove vehicles from that group

4

unit_group/update_units

(26/02/2016 19:46:25 отредактировано deal)

Re: unit_group/update_units

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.

Head of Wialon Local Department
Gurtam