grouper-dev - [grouper-dev] Re: more WS problems
Subject: Grouper Developers Forum
List archive
- From: Scott Koranda <>
- To: Chris Hyzer <>
- Cc: Grouper Dev <>
- Subject: [grouper-dev] Re: more WS problems
- Date: Thu, 19 Apr 2012 08:49:17 -0500
> Hi,
>
> > no problem. here are the client calls and the JSON. Thanks, Chris
> >
> >
> > #############################
> > Get the membership ID
> >
> > Request:
> >
> > PUT /grouper-ws/servicesRest/v2_1_001/groups
> >
> > {
> > "WsRestGetMembershipsRequest":{
> > "fieldName":"members",
> > "memberFilter":"Immediate",
> > "wsGroupLookups":[
> > {
> > "groupName":"test:testGroup"
> > }
> > ],
> > "wsSubjectLookups":[
> > {
> > "subjectId":"test.subject.0",
> > "subjectSourceId":"jdbc"
> > }
> > ]
> > }
> > }
> >
>
> Thanks, but it is not working for me.
>
> I am sending in this:
>
> {
> "WsRestGetMembershipsRequest":{
> "fieldName":"members",
> "memberFilter":"Immediate",
> "wsGroupLookups":[
> {
> "groupName":"Reference:COmanageDataSource:COmanage:admin"
> }
> ],
> "wsSubjectLookups":[
> {
>
> "subjectId":"",
> "subjectSourceId":"ligo"
> }
> ]
> }
> }
>
> Using this curl command:
>
> curl -X PUT -u GrouperSystem:XXXXXXXXXX -H "Content-Type:
> text/x-json" -d @getMembershipID.json
> https://oregano.phys.uwm.edu/grouper-system/servicesRest/v2_1_000/groups
>
> (I also tried with POST)
>
Nevermind, I figured it out.
For the archives, the JSON input is correct but it should go
in with a POST to the URL
.../servicesRest/v2_1_000/memberships
Thanks,
Scott
- [grouper-dev] RE: more WS problems, Chris Hyzer, 04/18/2012
- [grouper-dev] Re: more WS problems, Scott Koranda, 04/19/2012
- [grouper-dev] Re: more WS problems, Scott Koranda, 04/19/2012
- [grouper-dev] Re: more WS problems, Scott Koranda, 04/19/2012
Archive powered by MHonArc 2.6.16.