Adding traffic packages for a unit

The unit/add_video_packets request is used to add traffic packages to an object. Dealer rights are required to complete the request.

svc=unit/add_video_packets&params={
 "units":[<long>,...],
 "packets":<int>
}			  

Parameters

Name Description
units units ID array
packets number of packages added

For example,

svc=unit/add_video_packets&params={"units":[5523461,1548776],"packets":1}			  

Response

Enumeration of object IDs with response code.

0 - changes applied.

  [
   {result:{5523461:{code:0}}},
   {result:{1548776:{code:0}}}
  ]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam