snipe / snipe-it

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

missing checkout / check-in on licenses API #6875

Closed achitofel closed 2 years ago

achitofel commented 5 years ago

Server (please complete the following information):

Is your feature request related to a problem? Please describe. I can't find a way to auto update software licenses with API, as there is no API to assign (checkin & checkout) a license to a user/computer

Describe the solution you'd like A clear and concise description of what you want to happen. add a checkout/checkin options for licenses api

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. manual work , lots of :)

Additional context thanks, hope this is something small and important that could be easily applied.

scotteelp commented 5 years ago

Also, looking for this functionality to put checkin/outs of licenses on our rlm server. Is this included in ver 5?

stale[bot] commented 5 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

iainhallam commented 5 years ago

Yes, need this to be able to automate things.

stale[bot] commented 5 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

happicamper commented 5 years ago

Is there also an API endpoint for Licenses assigned to a user?

TitoVince35 commented 5 years ago

Definitely need this feature!!

6935

stale[bot] commented 5 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

achitofel commented 5 years ago

still wanted

stale[bot] commented 5 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

iainhallam commented 4 years ago

Still needed

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

iainhallam commented 4 years ago

Yes.

sandraydouglas commented 4 years ago

Yes this feature would work dreams.

iainhallam commented 4 years ago

Stale bot doesn't seem to have remove the label yet, @snipe.

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

iainhallam commented 4 years ago

Yes

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

scotteelp commented 4 years ago

Yes

On Sun, May 3, 2020 at 7:14 AM stale[bot] notifications@github.com wrote:

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/6875#issuecomment-623093447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6IMMVHDM64BU4ZPU5PZTDRPVGZVANCNFSM4HDALVHQ .

-- Scott P. Richards 443-271-6343

marcquark commented 4 years ago

i believe this is basically the same request as this one https://github.com/snipe/snipe-it/issues/6695

can we agree to close this ticket and move discussions to my FR? i've started working on it already

achitofel commented 4 years ago

Yes

On May 16, 2020, 20:16, at 20:16, Marc Leuser notifications@github.com wrote:

i believe this is basically the same request as this one https://github.com/snipe/snipe-it/issues/6695

can we agree to close this ticket and move discussions to my FR? i've started working on it already

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/snipe/snipe-it/issues/6875#issuecomment-629678705

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

iainhallam commented 4 years ago

May be the same as #6695; would that allow checking out licences to users and/or computers?

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

marcquark commented 4 years ago

@iainhallam yes, it would. The PR i opened implements that. It's probably not going to be merged until v5 is finished. When it's out i'm going to revisit my PR and update it so it will hopefully make it into a release eventually.

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

marcquark commented 4 years ago

still relevant.

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] commented 3 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

marcquark commented 3 years ago

yes it is.

stale[bot] commented 3 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

TonyAndraza commented 3 years ago

Adding to the list of users who would like to see this functionality.

marcquark commented 3 years ago

@TonyAndraza and anybody else reading this, the feature has made it into a release already, unfortunately the API reference is lacking documentation. The related issue has been closed as stale unfortunately: https://github.com/snipe/snipe-it/issues/6696

You can list seats using /licenses/:id/seats and you can perform a checkin/checkout by PUTing the new information to /licenses/:id/seats/:id (the former ID being the license ID, the latter the license seat ID). The API will automatically derive the information whether it's a checkin or checkout, and log it accordingly, as the GUI would

maufimauf commented 2 years ago

@marcquark Thanks a bunch! That works.

I searched everywhere and spend many hours with trying but only to get plain rejections. Would be great if it could find it's way into the documentation.

uberbrady commented 2 years ago

Our documentation platform allows you to submit change requests; please do!

marcquark commented 2 years ago

@uberbrady i'd love to! I might just be too dumb, but i can't figure out where? There's a button in the "Guides" section, yes. But it's a dead end as far as i can tell, only allows editing "normal" pages but not the API reference. Would you be able to provide some guidance on how to submit change requests specifically for the API reference?

snipe commented 2 years ago

https://snipe-it.readme.io/reference/licensesidseatseatid

Snipe-IT Documentation
/licenses/:id/seat/:seatId
Snipe-IT is a free, open source IT asset management system. Features include management of assets, users, licenses, accessories, consumables and components, as well as two-factor authentication, LDAP/AD syncing, and asset acceptance confirmation.
sambernet commented 2 years ago

https://snipe-it.readme.io/reference/licensesidseatseatid

@snipe I just learned that #6695 has been closed and released and is now available to us, after reading this other issue here 🙈 I posted a note there referencing this issue here.

But then I also noticed that the docs for v6.0.0 (which is the default selection in the api reference) don't contain that endpoint. Took me a while to figure out that only v5.4.4 contains the relevant information.

Would you want me to open a new issue or is this something you can easily fix?

Snipe-IT Documentation
Snipe-IT Documentation
Snipe-IT is a free, open source IT asset management system. Features include management of assets, users, licenses, accessories, consumables and components, as well as two-factor authentication, LDAP/AD syncing, and asset acceptance confirmation.
IQNeoXen commented 2 years ago

It seams https://snipe-it.readme.io/reference/licensesidseatseatid is not available anymore :/

Snipe-IT Documentation
Snipe-IT Documentation
Snipe-IT is a free, open source IT asset management system. Features include management of assets, users, licenses, accessories, consumables and components, as well as two-factor authentication, LDAP/AD syncing, and asset acceptance confirmation.