Setting auto-purchase of traffic packages for an object

The unit/update_video_status request is used to set the auto-purchase value for traffic packets. Dealer rights are required to complete the request.

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

Parameters

Name Descriptions
units units ID array
value value of auto-purchase of traffic packets

Foe example,

svc=unit/update_video_autopay&params={"units":[5523461,1548776],"value":10}			  

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