snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.1k stars 3.18k forks source link

[Feature Request]: Get history of asset/user through API #12173

Open HendrikClijstersMosa opened 1 year ago

HendrikClijstersMosa commented 1 year ago

Is your feature request related to a problem? Please describe.

Our school is managing the laptops of our students through Snipe-IT. The Financial departments wants to extract data to send invoices concerning rent and maintanence. Current problem is that if a students stops and we check in their laptop, it becomes impossible to trace any costs they have with regards to this asset.

Describe the solution you'd like

Possibility to use the Snipe-IT API to get the history of a user/asset. This so we can link these two, even after the asset has been checked in.

Describe alternatives you've considered

Allow us to see the last check-in time of a device through the API (it shows the last check-out time). This way we can compare files to see whose asset where checked-in, in recent times.

Additional context

No response

welcome[bot] commented 1 year ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

htoogethr commented 1 year ago

This would be useful for us too. We use the activity report to track certain asset updates through the API, but the activity report only contains an entry that states an asset was updated. It contains no info on what was changed. This is visible in the asset though, but not available through the API. If it were, we could retrieve the info.

Even better would be if the activity report directly contained the same info as the asset history, i.e. a list of updated fields with their old and new values.

sean-sauve commented 1 year ago

This would be useful to me too. I automate user creation and deletion through the API (long story) and need to check if a user has history before I delete users that are no longer in my source database.

JensNiehoff commented 5 months ago

We would like this as well.