List Devices by UPN with API

Solved Locked
M
Miles
DH PACE COMPANY

Using the API, I'm trying to get a list of devices using the UPN, but I can't seem to figure out the filter syntax. Can anyone tell me how to set the filter syntax for the \devices or \devices\search API calls?

4 years ago
SOTI MobiControl
ANSWERS
J
JCMOD@SOTI
4 years ago

Hi Miles,

Have an update for you. Firstly regarding the APIs themselves, it's suggested you only use the GET /device/search API moving forward. Secondly, the existing documentation is due to be updated in a future MobiControl release to clarify specific functionality such as the parameters for example.

Now regarding your query and the Filter parameter. The workaround is to open "Developer Tools" in Chrome and perform a search in the MC web console and capture filter query generated. See the below for reference:

If this resolves your query, please mark this post as the solution. Also, feel free to reach out if you have any questions or need clarification.

Regards,

Solution
J
JCMOD@SOTI
4 years ago

Hi Miles,

Thank you for posting in SOTI Central.

I've just sent a request internally to clarify this further. I'll get back to you in due course.

Regards,

M
Miles
4 years ago

That worked. Thank you!