→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎07-05-2024 10:44 AM
I have some iPads, iPhones and some other mobile devices in my Lansweeper, which I can see via the Lansweeper portal online. However, when I try to retrieve this data via the API I cannot see fields with information in it although the assetResources total is showing as 6, which to me looks like it is found them but not able to display any information for them.
My query to the API using graphql looks like this,
Solved! Go to Solution.
‎07-08-2024 05:27 PM
So I had to remove the cursor from "assetPagination" and also set page to be "FIRST". I also set the type to be "iOS" and on a 2nd query I used "iPad", which returned the expected results for me in the end. Thank you for your assistance!
‎07-08-2024 10:52 AM
hi @houseonthehill, the query is correct; it should give you the details. Have you tried with another assetBasicInfo.type value, or with fewer fields?
‎07-08-2024 05:27 PM
So I had to remove the cursor from "assetPagination" and also set page to be "FIRST". I also set the type to be "iOS" and on a 2nd query I used "iPad", which returned the expected results for me in the end. Thank you for your assistance!
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now