Rest API of Computer ID

Hello,

I am using below REST API Call to get the Computer ID with the help of computer name but not getting the computer ID, secondly this is not happening every time. Many times, it works fine and provide the Computer ID perfectly.

https://abcdefg.abc.xyz.com:52311/api/query?relevance=(names of it , ids of it ) of bes computers whose (hostname of it contains “ussrhgdsp005”)

Below is the Output of above REST API call.

image

You may want to change your session relevance query somewhat to account for case in the hostname. Here’s one potential approach:

(hostnames of it, ids of it) of bes computers whose (hostname of it as lowercase contains "ussrhgdsp005" as lowercase)

Thanks it is working.

Have a small query.

Post BigFix agent installation, will this session relevance be capable to retrieve Computer ID immediately? Why I am asking because our external application team will run this relevance immediately post agent installation to get computer ID against that hostname.

The agent will need to have reported back to the server before the server knows anything about the new client