When I use the REST API, ' https://as420.awmdm.com/API/system/users/search?username=SOMEUSER' I get a result list of Users that match the ' SOMEUSER' text search. The results do not contain all User fields, like CustomAttribute2-5 attributes. So, I would like to get the given user's details by using the user's UUID. I believe the URI should be ' https://as420.awmdm.com/API/system/users/820e121f-9430-402f-b41a-070751ad6fd3' . Unfortunately, when I invoke this method, I'm getting the error:
Server Error in '/Api/System' Application. The resource cannot be found.
Description: HTTP 404.
The resource you are looking for (or one of its dependencies) could have
been removed, had its name changed, or is temporarily unavailable.
Please review the following URL and make sure that it is spelled correctly.
Requested URL: /API/system/users/820e121f-9430-402f-b41a-070751ad6fd3
I'm running this through PowerShell. If I test it through the WS1 UEM API Explorer, it works. I'm guessing that PS is butchering something in my variable or syntax. If I use the ' DeviceID' value it works. I was wondering if the ' -' character was causing a problem, so I URL-encoded the UUID value and it still didn't work. Has anyone ever seen this before?
Appreciate an thoughts or help.