It depends on what exactly you want to achieve and how far you're willing to go.
We currently don't have an API for our asset management part, so if you want to edit the user of an asset, edit a custom field or add a user relation (might be the best solution since this will keep a history off all users) then you'll have to write some code to execute a database query.
If you created the QR codes using asset IDs then you'll be able to get the asset's ID from the last part of the link (obtained from scanning the code). For example:
http://servername:81/asset.aspx?AssetID=60To create an asset user relation you'll need:
- The type of relation you want to add (check tsysAssetRelationTypes for all possible types)
- The asset's ID
- The user's username
- The domain name
An example query:
INSERT tblAssetUserRelations (Username, Userdomain, AssetID, Type, Comments) VALUES ('johndoe', 'lansweeperdom', 60, 12, 'Checked out by John Doe')Alternatively, you could make use of the ticketing system. Though a minimum amount of code will be required here as well. You could create a ticket to keep track of your assets, a ticket for each asset, or even add assets by using the Ticket API. More info can be found
here.