# SUMA API - system search using DeviceId

**URL:** <https://forums.suse.com/t/suma-api-system-search-using-deviceid/44922>\
**Category:** SUSE Multi Linux Manager\
**Created:** [January 7, 2025, 12:26pm UTC](https://forums.suse.com/t/suma-api-system-search-using-deviceid/44922 "2025-01-07T12:26:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanchez-higuera](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@sanchez-higuera](https://forums.suse.com/u/sanchez-higuera)\
**Post date:** [January 7, 2025, 12:26pm UTC](https://forums.suse.com/t/suma-api-system-search-using-deviceid/44922/1 "2025-01-07T12:26:40Z")

</div>

Hi everyone,  
I’m having some troubles using the SUMA API, my problem is with one simple endpoint, system.search.  
I can find devices using all of the methods except for one, the deviceID  
For example, using the IP Address I get the devices I’m looking for, the URL for call is the following:  
[https://mySUSEManager.com/rhn/manager/api/system/search/ip?searchTerm=IP\_ADDRESS](https://mySUSEManager.com/rhn/manager/api/system/search/ip?searchTerm=IP_ADDRESS)  
The same for hostname and uuid, no problems, but when I try to look for a device using the device ID I always get an empty list, maybe I’m using the wrong one? I use the one that is listed in the web interface as “SUSE Manager System ID” which is the same I get as response when I look for the devices using any other search term.  
The URL for the call is the following:  
[https://mySUSEManager.com/rhn/manager/api/system/search/deviceId?searchTerm=DEVICE\_ID](https://mySUSEManager.com/rhn/manager/api/system/search/deviceId?searchTerm=DEVICE_ID)  
Am I doing something wrong?
