I have stored some information in iiQ Assets that is used quite often. Would it be possible to use some sort of API to query information using a field and getting back just a few fields? I’d like to maybe do this in C#.NET or really any programming language is fine… Mainly just to speed up how quickly I can get just an item or two, instead of going through the rather robust search offered in iiQ Assets.
If this is not possible, please let me know - if it is possible, let me know even more :)
Page 1 / 1
@SPenland 4671c29 gilmer Thank you for submitting your question to our community!
I reached out to my API masters at iiQ, and they have said it is an all-or-nothing situation. @jclark@bclark@calexander@curtis.bohlmeyer Any thoughts here?
The fields you receive in the response is all or nothing, but not necessarily the number of assets. You CAN query a subset of assets to some degree. You just have to kind of dig to figure out the filtering in the payload.
For example: If I wanted to query assets based on purchase date…
Parsing the response as part of your script and having it return only the values you want, in an array or something, would be a way to do get what you need without seeing the entire response.
So, I could set up my own query using your filters and POST that and get back the assets? Is it possible to test this on https://hoppscotch.io/ ? How does the authentication work with this type of request?
You’ll need to create an API token.
Thank you all! Got what I wanted working. I’d like to know now if it is possible to update a queried asset.
Is it possible to update a field like “AssetTag”? I’ve tried posting to …/assets/asset-id with