listGroups

Returns a list of user groups

Client Servlet Server Servlet HTTP Methods Supported Requires Authentication
CRGroupAPI SRGroupAPI GET, POST Yes.

Client API Syntax

https://secure2.convio.net/organization/site/CRGroupAPI?method=listGroups &api_key=value &v=value [ &auth=value ] [ &center_id=value ] [ &error_redirect=value ] [ &redirect=value ] [ &response_format=xml | json ] [ &sign_redirects=value ] [ &source=value ] [ &sub_source=value ] [ &success_redirect=value ] [ &suppress_response_codes=value ] [ &allow_cross_center=value ] [ &list_filter_text=value ] [ &list_page_offset=value ] [ &list_page_size=value ] [ &list_record_offset=value ] [ &selection_mode=EMAIL | ADMIN_SECURITY | MEMBERSHIP | HEIRARCHY | NOT_BUILT_IN | REPORTWRITER_SHAREES | STATES ] [ &auth=value ] [ &sso_auth_token=value ]

Server API Syntax

https://secure2.convio.net/organization/site/SRGroupAPI?method=listGroups & api_key =value & login_name =value & login_password =value & v =value [ & center_id =value ] [ & response_format =xml |json ] [ & source =value ] [ & sub_source =value ] [ & suppress_response_codes =value ] [ & allow_cross_center =value ] [ & list_filter_text =value ] [ & list_page_offset =value ] [ & list_page_size =value ] [ & list_record_offset =value ] [ & selection_mode =EMAIL |ADMIN_SECURITY |MEMBERSHIP |HEIRARCHY |NOT_BUILT_IN |REPORTWRITER_SHAREES |STATES ]

Usage Notes

This method returns a list of the Groups defined for a particular Luminate Online site. It supports basic list paging and sort order criteria. The list can be filtered based on Group selection mode.

Client API callers must be logged in and must be administrator users with appropriate Group Management rights. Server API callers must have "Group Management/Use Luminate Online Groups API" permission.

The MEMBERSHIP option for selection_mode does not return interests groups. To obtain a list of the constituent's interests, use instead listInterests.

Client API Parameters

Common Client Parameters

See topic Common Parameters.

allow_cross_center

Optional. Indicates groups results may be cross centers in single center mode.

Type xsd:boolean.

list_filter_text

Optional. The text that will be used to filter results.

Type xsd:string.

list_page_offset

Optional. The requested page number (used with "list_page_size"). The first page (default) is zero. Only one of "list_record_offset" or "list_page_offset" should be used in a request.

Type xsd:integer.

list_page_size

Optional. The number of results in each page (used with "list_record_offset" or "list_page_offset").

Type xsd:integer.

Default is 25.

list_record_offset

Optional. The requested initial record number (used with "list_page_size"). The first record (default) is zero. Only one of "list_record_offset" or "list_page_offset" should be used in a request.

Type xsd:integer.

selection_mode

Optional. Specifies a context for the results, which can differ according to how they are expected to be used

Type xsd:token.

Default is NOT_BUILT_IN.

Options are:
  • EMAIL
  • ADMIN_SECURITY
  • MEMBERSHIP
  • HEIRARCHY
  • NOT_BUILT_IN
  • REPORTWRITER_SHAREES
  • STATES

Server API Parameters

Common Server Parameters

See topic Common Parameters.

allow_cross_center

Optional. Indicates groups results may be cross centers in single center mode.

Type xsd:boolean.

list_filter_text

Optional. The text that will be used to filter results.

Type xsd:string.

list_page_offset

Optional. The requested page number (used with "list_page_size"). The first page (default) is zero. Only one of "list_record_offset" or "list_page_offset" should be used in a request.

Type xsd:integer.

list_page_size

Optional. The number of results in each page (used with "list_record_offset" or "list_page_offset").

Type xsd:integer.

Default is 25.

list_record_offset

Optional. The requested initial record number (used with "list_page_size"). The first record (default) is zero. Only one of "list_record_offset" or "list_page_offset" should be used in a request.

Type xsd:integer.

selection_mode

Optional. Specifies a context for the results, which can differ according to how they are expected to be used

Type xsd:token.

Default is NOT_BUILT_IN.

Options are:
  • EMAIL
  • ADMIN_SECURITY
  • MEMBERSHIP
  • HEIRARCHY
  • NOT_BUILT_IN
  • REPORTWRITER_SHAREES
  • STATES

Response

See topic HTTP Status Codes.

XML response
<?xml version="1.0" encoding="UTF-8"?>
<listGroupsResponse xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd" xmlns="http://convio.com/crm/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <groupInfo>
    <id>0</id>
    <name>Sample Group 1 Name</name>
    <description>Sample Group 1 Description</description>
    <statsUpdateTimestamp>2016-02-01T09:43:53.886-06:00</statsUpdateTimestamp>
    <numMembers>2831</numMembers>
    <numActiveMembers>2279</numActiveMembers>
    <groupMode>STATIC_REBUILDABLE</groupMode>
    <securityMode>ADMINISTRATOR</securityMode>
  </groupInfo>
</listGroupsResponse>

        
JSON response
{"listGroupsResponse":{"groupInfo":{"id":"0","statsUpdateTimestamp":"2016-02-01T09:43:53.886-06:00","groupMode":"STATIC_REBUILDABLE","numActiveMembers":"2279","description":"Sample Group 1 Description","numMembers":"2831","name":"Sample Group 1 Name","securityMode":"ADMINISTRATOR"}}}

        

Leave a Comment

Nickname
Comment
Enter this word: