This is almost there. It took me a bit to get back to this and I can get the code to work if the double quotes are around the entire CSV list of members:
"MEMBER01, MEMBER02, MEMBER02, MEMBER03, MEMBER04"
but not with the double quotes around each individual member of the CSV list. eg:
"MEMBER01", "MEMBER02", "MEMBER02", "MEMBER03", "MEMBER04"
When I use this query:
(name of it, id of it, ("%252522" & it & "%252522") of concatenation "%252522, %252522" of names of members of it) of bes computer groups whose (name of it = "GROUP")
In the Presentation Debugger it seems to works with a result like:
GROUP, 1108677, ( %2522MEMBER1%2522, %2522MEMBER2%2522, %2522MEMBER3%2522, %2522MEMBER4%2522 )
When I try that same query in the API via browser it returns an error:
<Query Resource="(name of it, id of it, ("%22" ">
<Error>This expression could not be parsed.</Error>
For me it seems quotes inside quotes inside brackets etc is always problematic at the command line, adding the URL encoding is not helping! Is the issue obvious to a different set of eyes?