Use this API operation to return a list of Groups on the criteria you pass in.
GET
/v1/search/searchGroups
Property | Type | Description |
---|---|---|
PageSize |
integer | Sets the number of groups on each page of the result set. Accepts values from 1 to 100 . Default is 50 . |
PageNumber |
integer | Returns a specific page in the result set. Accepts values from 1 onwards. |
GroupTypeIDs |
string | Returns profiles that have selected their GroupType to one that relates to a GroupType ID within GroupTypeIDs . Accepts a comma delimited string of GroupType IDs, for example: 1,2 . See the getGroupTypes method. |
GroupName |
string | Returns groups that containing in their name the string passed in. |
CountryID |
integer | Returns groups from the Country to which CountryID relates. See the getCountries method. |
RegionID |
integer | Returns groups from the Region to which RegionID relates. See the getRegions method. |
CountyID |
integer | Returns groups from the County to which CountyID relates. See the getCounties method. |
FeaturedOnly |
boolean | If set to true , search will return only featured groups. Criteria with the exclusion of PageNumber and PageSize will be ignored. Default is false |
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
This endpoint has the following optional headers:
Headers | Value | |
---|---|---|
X-MaskImages |
1 |
What's this? |
Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.
Property | Type | Description |
---|---|---|
PageCount |
integer | Represents the total number of pages in the result set. |
PageNumber |
integer | Represents the current page number. |
GroupsTotal |
integer | Represents the total number of groups in the result set. |
PageSize |
integer | Represents how many groups are listed on each page. |
Groups |
Array of aws:SearchGroup | List of groups data. |
The following example returns a single group.