Traccar 3.13 - update form SQL Server to Web API

Jose B8 years ago

Hi Anton,
I appreciate for help me in a new issue:
I created a personal API tool on my Android to write directly on "User Table", setting "name, password, device limit, expiration time and disable" parameters.

I noticed that "device limit, expiration time and disable" are not showing on web API.

When I use the web and save only, the information are updated.

What I did wrong?

https://drive.google.com/file/d/0BzmfzT9wtdj9d1c0MV8xbjY0b2M/view?usp=sharing
https://drive.google.com/file/d/0BzmfzT9wtdj9N2UwR3lINVVxVGs/view?usp=sharing
JBF

Anton Tananaev8 years ago

Traccar has internal cache which is not updated when you update database directly. You should be using Traccar API.

Pixel Drop8 years ago

Hi Anton,
I'm have similar problem, I'm add new user from traccar api and when I go and login admin to website devicelimit, disabled and expiration time don't appear, but if I look on database this fields update equal send traccar api, traccar server have time to internal update? because after third or more minutes website update values equal database.

sorry my english ;)

congratulations you create very nice tool, very fantastic, congratulations :)

Anton Tananaev8 years ago

If you use API all values update instantly.