Hi all,
I'm working on a few quick and easy functions to get information about PureCloud - Currently i'm working on returning the StationID and User who's logged into a given Station Name.
I'm attempting to use the Users/Search api call to search for a user (as a GET on api/v2/stations only returns UserID of the associated user) but i'm finding issues when performing the search.
I'm able use the following query and the results return my own user:
{
"returnFields": ["id", "name", "email"],
"query": [{
"value": "Joshua Hopkins",
"fields": ["name"],
"type": "EXACT"
}]
}
However, when attempting almost the exact same query, I get no results returned:
{
"returnFields": ["id", "name", "email"],
"query": [{
"value": "d54f1a9e-8335-47e8-8e7b-4da85d93013d",
"fields": ["id"],
"type": "EXACT"
}]
}
Any ideas for how I can search for a particular user based on their ID and return various details?
Thanks, Josh.