Jump to content

Recommended Posts

Posted

Good afternoon @Jim

the property h_last_logged_on is only defined for the entity AssetsComputer.
If you run entityBrowseRecords on the entity AssetsComputer, then h_last_logged_on will be returned.

 

Regards

Armando

Posted

I did not know I could go to that level 😮 Will test and use if it has everything I need, Thank you for the quick response :)

 

Posted

Ahhh, so in theory yes, for my purpose no. 

 

I'm filtering on substate and record state for my query and AssetsComputer will not allow them in the criteria

Posted

Bit of background on the use case, We are automating the logging of device replacements for disposals or end of life assets, 

Initially we query the assets from hornbill for any of a certain state and substate - we then filter these out based on the order date + 5 years being in the past. We also wanted to add an extra filter based on the last used date and then it logs requests for each asset due for replacement into Hornbill to log we use the following asset information

Order Date - Asset ID - Owned by - purpose - Tag - and name and ideally add last logged on into this

Posted

@ArmandoDM

 

Even when getting an individual asset I am not able to return all of the data for that asset and the only documented API's are these or the one I am currently using

image.thumb.png.3afca43ea23029af728d3e7d7f99da98.png

Posted

okay so I'm able to achieve what I want by querying a group of assets using 'Asset' and then I'm having to query again individually using 'AssetsComputer'  

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...