Using api from within traccar server

Gantz7 years ago

hi, i have a problem i want to deactivate a geofence when a device exits that geofence, i managed to doit from the DataManager but the geofence is still active till i restart the server. theres a way i can use the api from DataManager? or any other way to do this?
Thanks.

Anton Tananaev7 years ago

Just look what API does and do the same thing.

Gantz7 years ago

i just saw the call to the api, but i dont know where to find that in the code, can you give me a hint plz?

Anton Tananaev7 years ago

In the "api" package.