Hey,
I’m using HTTP Request to fetch entries that contain certain username under UnattendedRobot-array, but I can’t get the $filter right.
Below is the structure of unfiltered response:
What I’m looking for is to get UserName under Unattended robot (line 51) instead of the UserName in line 8
Now the filter looks like this and it returns response based on the line 8 UserName-value:
“Contains(UserName,'”+in_Username+“') and Type eq ‘DirectoryRobot’”
I’ve tried the following as a filters: “Contains(UnattendedRobot/UserName,'”+in_Username+“') and Type eq ‘DirectoryRobot’”
“UnattendedRobot.Contains(UserName,'”+in_Username+“') and Type eq ‘DirectoryRobot’”
I’m using HTTP Request Wizard and these are parameters I use:
Content-Type
Authorization
X-UiPath-OrganizationUnitId
$count
$filter
Without the filter parameter response contains all the entries, so filter is only thing that’s off. Of course if I need $expand parameter etc. please let me know!
Can someone tell me how to filter with UserName under UnattendedRobot?