Updating a single information on device  

  RSS

JBFelizberto
(@jbfelizberto)
Trusted Member
Joined: 8 months ago
Posts: 28
28/06/2019 4:30 am  

Hi James,

I would like to know how I update only the attributes field only using id. Example: deviceUpdateN($sessionId,$id,$attributes,);

Reason: I need to change + 500 rows in my DB.

is it possible? 

Regards

 

JB


Quote
jaimzj
(@jaimzj)
Guru Admin
Joined: 1 year ago
Posts: 58
28/06/2019 2:58 pm  

Hi

Unfortunately the only way to do it is to pass all values., Traccar expects you to send all other values as well for each device, if you don't then it gets set as blank.

Markers & maps are magical !!!


ReplyQuote
Share:
  
Working

Please Login or Register