Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: REST call to get groups based on a stem

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: REST call to get groups based on a stem


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Klug, Lawrence" <>, "" <>
  • Cc: "Schreiber, Bernard" <>
  • Subject: [grouper-users] RE: REST call to get groups based on a stem
  • Date: Thu, 30 Aug 2012 15:28:17 +0000
  • Accept-language: en-US

You should also be able to do something like this:

/grouper-ws/servicesRest/json/v2_1_001/groups?wsLiteObjectType=WsRestFindGroupsLiteRequest&queryFilterType=FIND_BY_STEM_NAME&stemName=aStem&stemNameScope=ALL_IN_SUBTREE

Thanks,
Chris


From: [] on behalf of Chris Hyzer []
Sent: Thursday, August 30, 2012 11:14 AM
To: Klug, Lawrence;
Cc: Schreiber, Bernard
Subject: [grouper-users] RE: REST call to get groups based on a stem

Its something like:

 

POST /grouper-ws/servicesRest/v2_1_001/groups HTTP/1.1

Authorization: Basic xxxxxxxxxxxxxxxxx==

Content-Type: text/x-json; charset=UTF-8

 

{

  "WsRestFindGroupsLiteRequest":{

    "queryFilterType":" FIND_BY_STEM_NAME",

    "stemName":"aStem",

    "stemNameScope": "ALL_IN_SUBTREE"

  }

}

 

 

From: [mailto:] On Behalf Of Klug, Lawrence
Sent: Wednesday, August 29, 2012 12:58 PM
To:
Cc: Schreiber, Bernard
Subject: [grouper-users] REST call to get groups based on a stem

 

We are trying to construct a REST-style call to get all groups in a given stem:

 

http://<host>/grouper-ws/servicesRest/v2_0_0/stems/root:ucla:orgs/groups

 

This generates an error.  What else do we need to provide?  Is this possible?

 

Thanks,

 

Lawrence Klug

IMS Platform Development

310 825-2061

ext 52061

 




Archive powered by MHonArc 2.6.16.

Top of Page