Creating a new item in the traccar API

Juliano 2 years ago

I'm planning to create a new item in the traccar API but I have no idea how to start. If any of you gentlemen have any guidance to give, I would be grateful.

Ex.
https://localhost:8082/invoices
https://localhost:8082/resellers

Anton Tananaev 2 years ago

Look at the existing APIs and implement it in a similar way.

Juliano 2 years ago

Could you give me a tip on which files and folders to look at, for example, in the case of notifications or groups

Anton Tananaev 2 years ago

Search for classes that end with Resource. Like SessionResource for example.