
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
- Labels:
-
API & Integrations
-
Lansweeper Cloud

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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?
~~~~~~~ (〃 ̄︶ ̄)人( ̄︶ ̄〃) ~~~~~~~
Sweep that LAN, sweep it!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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!
