Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] webservice to get custom attributes on a group ?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] webservice to get custom attributes on a group ?


Chronological Thread 
  • From: Mathieu HETRU <>
  • To:
  • Subject: Re: [grouper-users] webservice to get custom attributes on a group ?
  • Date: Sat, 14 Apr 2018 12:14:36 +0200
  • Ironport-phdr: 9a23:1mckxxOATjAGJsNmHGAl6mtUPXoX/o7sNwtQ0KIMzox0Ivn+rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkaKTA5/mHZhM9+gq1Vrx2upQBwzpXOb42JLvdzZL/RcN0YSGdHQ81fVzZBAoS5b4YXCOQOJ/pYr4n8p1QQsBu1GAuiCuzxxDFUiHD9wKo30+E7HgHa3AwgHswBsGnOoNX1KqgSTfq1zLTTwDXeafNW2Cn95JHMchAgpfGMWax/fdDfyUk1Dg7IiEibp4LiPzOQzOsNsm6b4vJhVeKpl24otRtxoj6xyccwlIXFnJwaxU3Z9Slh3YY1I9y4SFBibd6gEZtQsyWaOJVsTsMsWWFlvjsxxL4euZOjYSQHzJsqywTBZ/GHfIWE+A/vWPiVLDtiin9odqqziwu8/EWv0OHwSNW43VdQoidHiNXAq24B2hrO4cadUPR95F2u2TOX2gDT9O5EJUc0mLLeK58u37I8jIcTsULCHi/ogUn2iK6WdkEg+ue28ejnbK/mqoedN49ylA7+LrwjltG7DOk3KAQCQWiW9Oum2LH+40H0RK9Gg/M4n6XBtZDVP8Ubpqq3Aw9P1YYj7g6yDzK839QEnXkHLUxKeA+dg4jpJV7OPOr4DeqkjlSxljdrxu7GMqTlApXMKnjDlKnucaxz605G0AYz18xQ54pICrEdJ/L+QkDxtMbfDh8kKwy73fznBMxg1oMFR22PGLSZPbjWsV+J/eIvP/KMaJEPtDb8Lfgl++DhjWU/mVADYamlw4EbZ26lEfR7cA2lZi/jmNAcCWoQ+xclQfbxoFyETTNJYXuuBeQx6ixoJpihCNLmT5ytgbGclAeWIqdrLjRDA0yMEHr1MYWJR+0RQD+UI9Eklj0AUbXnRZV3hkLmjxPz17cydrmcwSYfr5+2jNU=

i tried with this :

POST /grouper-ws/servicesRest/v2_2_000/attributeAssignments

{
  "WsRestGetAttributeAssignmentsRequest":{
    "attributeAssignType":"group",
    "includeAssignmentsOnAssignments":"T",
    "wsOwnerGroupLookups":[
      {
        "name":"UDL:ACT:LISTE:DAF:daf-budget",
        "uuid":""
      }
    ]
  }
}


but it returns empty response :

{
    "WsGetAttributeAssignmentsResults": {
        "responseMetadata": {
            "millis": "81",
            "serverVersion": "2.3.0"
        },
        "resultMetadata": {
            "resultCode": "SUCCESS",
            "resultMessage": ", Found 0 results.",
            "success": "T"
        },
        "wsAttributeDefNames": [
        ],
        "wsAttributeDefs": [
        ],
        "wsGroups": [
        ],
        "wsMemberships": [
        ],
        "wsStems": [
        ],
        "wsSubjects": [
        ]
    }
}


Université de Lille

Mathieu HETRU
Responsable du bureau Web/ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule Web/ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr
Le 14/04/2018 à 11:28, Mathieu HETRU a écrit :

Thanks.

The version of my Grouper is 2.3

I have tested with findgroups webservice but i am not retrieved the custom attributes.

And with the get attribute assignments webservice i don't understand the documentation of the webservice :-(


Université de Lille

Mathieu HETRU
Responsable du bureau Web/ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule Web/ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr
Le 13/04/2018 à 19:32, Hyzer, Chris a écrit :

What version of Grouper?

 

If they are the new attribute framework, and marker attributes, you can use:

 

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

 

If they are legacy type, they will be in the group detail object in the group object with findgroups

 

https://spaces.internet2.edu/display/Grouper/Find+Groups

 

Thanks

Chris

 

 

 

From: [] On Behalf Of Mathieu HETRU
Sent: Friday, April 13, 2018 10:55 AM
To:
Subject: [grouper-users] webservice to get custom attributes on a group ?

 

Hello,

I have added some custom attributes on a group like list-name (for mailing list) and list-type..

I wish to get or set this custom attributes with webservices rest.

But i don't know which webservice to use?

Thanks for your help!

--

Université de Lille

Mathieu HETRU
Responsable du bureau Web/ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule Web/ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr






Archive powered by MHonArc 2.6.19.

Top of Page