Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing checkout / check-in on licenses API #6875

Closed
achitofel opened this issue Apr 2, 2019 · 41 comments
Closed

missing checkout / check-in on licenses API #6875

achitofel opened this issue Apr 2, 2019 · 41 comments

Comments

@achitofel
Copy link

Server (please complete the following information):

  • Snipe-IT Version v4.6.15 - build 4011 (master)
  • OS: [e.g. Ubuntu, CentOS] windows server
  • Web Server: [e.g. Apache, IIS] IIS
  • PHP Version 7.2.0

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.

@achitofel achitofel changed the title missing checkout / check in in licenses API missing checkout / check-in on licenses API Apr 2, 2019
@scotteelp
Copy link

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

@stale
Copy link

stale bot commented Jul 2, 2019

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!

@stale stale bot added the stale label Jul 2, 2019
@iainhallam
Copy link

Yes, need this to be able to automate things.

@stale
Copy link

stale bot commented Jul 2, 2019

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 stale bot removed the stale label Jul 2, 2019
@happicamper
Copy link

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

@TitoVince35
Copy link

TitoVince35 commented Aug 29, 2019

Definitely need this feature!!
#6935

@stale
Copy link

stale bot commented Oct 28, 2019

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!

@stale stale bot added the stale label Oct 28, 2019
@achitofel
Copy link
Author

still wanted

@stale
Copy link

stale bot commented Oct 28, 2019

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 stale bot removed the stale label Oct 28, 2019
@stale
Copy link

stale bot commented Dec 27, 2019

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!

@stale stale bot added the stale label Dec 27, 2019
@iainhallam
Copy link

Still needed

@stale
Copy link

stale bot commented Dec 28, 2019

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 stale bot removed the stale label Dec 28, 2019
@stale
Copy link

stale bot commented Feb 27, 2020

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!

@stale stale bot added the stale label Feb 27, 2020
@iainhallam
Copy link

Yes.

@sandraydouglas
Copy link

Yes this feature would work dreams.

@iainhallam
Copy link

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

@stale
Copy link

stale bot commented Mar 4, 2020

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 stale bot removed the stale label Mar 4, 2020
@stale
Copy link

stale bot commented May 3, 2020

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!

@stale stale bot added the stale label May 3, 2020
@iainhallam
Copy link

Yes

@stale
Copy link

stale bot commented May 3, 2020

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!

@achitofel
Copy link
Author

achitofel commented May 17, 2020 via email

@stale
Copy link

stale bot commented Jul 18, 2020

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!

@stale stale bot added the stale label Jul 18, 2020
@iainhallam
Copy link

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

@stale
Copy link

stale bot commented Jul 19, 2020

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 stale bot removed the stale label Jul 19, 2020
@marcquark
Copy link
Contributor

@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
Copy link

stale bot commented Oct 4, 2020

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!

@stale stale bot added the stale label Oct 4, 2020
@marcquark
Copy link
Contributor

still relevant.

@stale
Copy link

stale bot commented Oct 4, 2020

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 stale bot removed the stale label Oct 4, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

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
Copy link
Contributor

yes it is.

@stale
Copy link

stale bot commented Dec 25, 2020

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 stale bot removed the stale label Dec 25, 2020
@TonyAndraza
Copy link

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

@marcquark
Copy link
Contributor

@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: #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
Copy link

@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
Copy link
Collaborator

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

@marcquark
Copy link
Contributor

@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
Copy link
Owner

snipe commented Apr 28, 2022

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

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.

@sambernet
Copy link

sambernet commented May 16, 2022

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 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
Copy link

IQNeoXen commented Jun 7, 2022

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests