Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Find groups Lite REST by exact attribute value

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Find groups Lite REST by exact attribute value


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Scott Koranda <>, grouper-users <>
  • Subject: RE: [grouper-users] Find groups Lite REST by exact attribute value
  • Date: Fri, 13 Apr 2012 03:24:33 +0000
  • Accept-language: en-US

Thats the old style attribute... :)

You need the new style attribute service...

https://spaces.internet2.edu/display/Grouper/Get+Attribute+Assignments

thanks,
chris
________________________________________
From:


[]
on behalf of Scott Koranda
[]
Sent: Thursday, April 12, 2012 5:08 PM
To: grouper-users
Subject: [grouper-users] Find groups Lite REST by exact attribute value

Hi,

I am using Grouper 2.1.0.

I am sending in this via POST

{
"WsRestFindGroupsLiteRequest":{
"actAsSubjectId":"GrouperSystem",
"queryFilterType":"FIND_BY_EXACT_ATTRIBUTE",
"groupAttributeName":"StemA:StemB:my_attribute",
"groupAttributeValue":"4f873a8b-7028-4700-a980-1e826711eafd",
"includeGroupDetail":"T"
}
}

to .../servicesRest/v2_1_000/groups

The response has "resultCode":"SUCCESS" but no groups are
returned.

I expect to see one group returned since there is one group
with this attribute set and having that value.

(I can see it nicely in the LiteUI).

What am I doing wrong to find a group based on the value of an
attribute assigned to it?

Thanks,

Scott





Archive powered by MHonArc 2.6.16.

Top of Page