This API operation returns the details of the group based on the GroupID
passed in.
GET
/v1/groups/getGroupDetails
Property | Type | Description |
---|---|---|
GroupID |
integer | Required if GroupName is null. The Group ID of the AdultWork.com group you wish the API to return. |
GroupName |
string | Required if GroupID is null. The name of the AdultWork.com group. |
ReturnDetails |
boolean | If set to true , the details are returned. Default is false . |
ReturnImages |
boolean | If set to true , the images are returned. Default is false . |
ReturnOpeningHours |
boolean | If set to true , the opening hours are returned. Default is false . |
ReturnMembers |
boolean | If set to true , the members of the group are returned. Default is false . |
ReturnMemberImages |
boolean | If set to true , the images of the members are returned. Default is false . |
ReturnMemberEscortRates |
boolean | If set to true , the escort rates of the members are returned. Default is false . |
MembersPerPage |
integer | Sets the number of members 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. |
OrderBy |
string | Sets the order in which the profiles will be returned. Default is Last Updated date. Order options are rating , ratingtotal , registerdate , views , inrates-asc ,inrates-desc , outrates-asc ,outrates-desc , age-asc ,age-desc , nickname-asc , nickname-desc , lastupdated . |
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.
An Authorization header is optional with every request and must contain the access_token of the group manager.
Property | Type | Description |
---|---|---|
Group |
aws:Group | The AdultWork.com group data. |
HasDetails |
boolean | If set to true data for details will be populated. |
Details |
string | The group details. This text may be split into tabs. |
HasImages |
boolean | If set to true data for Images will be populated. |
Images |
aws:GroupImages | The images used by the group. |
HasOpeningHours |
boolean | If set to true data for opening hours will be populated. |
OpeningHours |
aws:GroupOpeningHours | The opening hours of the group. This will only be populated when the group is an Establishment. See the getGroupTypes method. |
HasMembers |
boolean | If set to true member data will be populated. |
PageNumber |
integer | Represents the current page number. |
PageCount |
integer | Represents the total number of pages in the result set. |
MembersTotal |
integer | Represents the total number of member profiles in the result set. |
MembersPerPage |
integer | Represents how many member profiles are listed on each page. |
Members |
Array of aws:GroupMember | The list of member data. |
The following example returns a group.