No.
You must be missing something in your api method.
I dont know, I sent name and uniqueid, after post the traccar show the device but device don't turn online. If I remove and add by myself , the devide turn online instantly.
There are some way to get what's going wrong?
Is a brand new installation of traccar.
Inspect Web App network calls when adding a device. That will show you exactly what data is being sent to api for device registration. Then implement identically at your webapi end.
I'm trying to add a new device by webapi:
{name="mycar",uniqueid="123456"}
The device was added but dont turn online, if I remove and add manually the device is turn online.
After post a new device, I need to call other method in webapi ?