Is it possible to integrate a CRM via API to automatically block the tracker?

Flavio GP4 2 months ago

I would like to integrate another system that has access to Traccar, and under certain conditions, automatically lock and unlock the vehicle.

Is there an API for this?

What would be the lock and unlock command via API?

Anton Tananaev 2 months ago

Yes, there is an API. Have you checked the documentation?

Flavio GP4 2 months ago

Yes, but I'm not a developer. I'd like to know specifically which part shows the block so I can find a developer who can implement this function.

Anton Tananaev 2 months ago

Specifically what you need is the commands endpoint.

Flavio GP4 2 months ago

Right here? https://www.traccar.org/api-reference/#tag/Commands

But which one is for locking and which one is for unlocking?

Anton Tananaev 2 months ago

All commands are using the same API. Just the type is different.

https://www.traccar.org/api-reference/#tag/Commands/paths/~1commands~1send/post

Flavio GP4 2 months ago

Thank you, I'll try to find a developer.

Your answer was very helpful.

Track-trace 2 months ago

Why don't you send an email to support on this website. Anton can surely create things for you as a developer.

Flavio GP4 a month ago

I believe that would be too complex and would be outside the scope of Traccar, so I need to integrate an external system with it.

Anton Tananaev a month ago

We can help with any kind of professional services.

Flavio GP4 a month ago

Anton, i need a system for renting vehicles for Uber. Drivers will rent my car on a weekly or monthly basis.

Payment unlocks the week. At the end of the week, if payment is not made, the vehicle will be blocked, and payment automatically unlocks it.

I will be working in Brazil, and the system needs to be integrated with Brazilian banks.

Anton Tananaev a month ago

Email support to discuss.

Flavio GP4 a month ago

what email please

Anton Tananaev a month ago

Click support and you'll find it.