SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
140 stars 84 forks source link

"/v1/records" ability to define issuing officer #1737

Closed bartusek27 closed 1 year ago

bartusek27 commented 1 year ago

Describe the feature

Currently, if you have implemented some basic sync from in-game to CAD, the best option for issuing tickets and arrest reports is through /v1/records endpoint, which then in logs is without any officer due to using only admin API token and not user API token, which we would have to use - not ideal.

Since the arrests and tickets are issued from in-game with our resources, all issued records are without issuing officer because of this (we have to do it in-game since I could give e.g. ticket to practically anyone anytime which would be FailRP - this way, you are issuing ticket where you have to in-game select nearby player and choose penal code with fine value).

Additional Context

No response