get membership
/groups/{group}/members/{member}/details [GET]
API Support | Available since | Last updated | Output |
---|---|---|---|
Description
Use Service: /groups/{group}/members/{member} [GET] instead.
Get a membership
Parameters
Name | Description | Required | Type | Default |
---|---|---|---|---|
subgroups | If subgroups should be included in the response | no | boolean | true |
subgroups
This parameter used as a flag to specify if subgroup membership is to be considered. The possible values are true
and false
and the default value is true
.
Permission
Only the member herself or an administrator can invoke this service.
Response
If successful, the full membership details are returned in a <membership>
element.
<membership id="[membership id]" email-listed="[true|false]" notification="[none|immediate|daily]" status="[normal|invited|self-invited|disabled]" role="[role] [subgroups="[subgroups]"]"> <member id="[member id]" firstname="[first name]" surname="[surname]" username="[username]" status="[activated|unactivated|set-password]"> <fullname>[full name]</fullname> </member> <group|project id="[group id]" name="[group name]" description="[description]" owner="[owner]" [relatedurl="[url]"] /> <details> <field position="1" name="[field name]" editable="[true|false]" [title="[field title]"] [type="[field type]"]>[field value] </field> ... </details> </membership>