API Methods
Account ...
Blogs ...
Bookings ...
CreditHistory ...
Dashboard ...
DirectCam ...
DirectChat ...
Email ...
FieldReport ...
Groups ...
HotLists ...
Interview ...
Lists ...
Movie ...
Newsfeed ...
PhoneChat ...
Pictures ...
Profile ...
Search ...
Tours ...
Webcam ...

Group Types

This API operation returns the type of groups used in AdultWork.com.

URL / Endpoint

Need help with Postman?

GET /v1/lists/getGroupTypes

Request

PropertyTypeDescription
IsEstablishment boolean If set to true the type of groups returned will be of type establishment.
IsAgency boolean If set to true the type of groups returned will be of type agency.
IsChatWebcam boolean If set to true the type of groups returned will be of type chat and/or webcam.
IsContent boolean If set to true the type of groups returned will be of type content provider.
IsEvents boolean If set to true the type of groups returned will be of an event type.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.

Headers

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.

Authentication

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.

Samples

GET method

https://api-sandbox.adultwork.com/v1/lists/getGroupTypes
  ?apiKey={your-api-key}

Response

PropertyTypeDescription
GroupTypes Array of aws:GroupType List of GroupTypes.

Response Sample

The following example returns the grouptypes used in AdultWork.com with IsContent set to true.

[
{
"GroupTypeID": 8,
"GroupTypeName": "Erotic Content Providers",
"IsEstablishment": false,
"IsAgency": false,
"IsChatWebcam": false,
"IsContent": true,
"IsEvents": false,
"IsUnclassified": false
}
]
<ArrayOfGroupType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Groups">
<GroupType>
<GroupTypeID>8</GroupTypeID>
<GroupTypeName>Erotic Content Providers</GroupTypeName>
<IsAgency>false</IsAgency>
<IsChatWebcam>false</IsChatWebcam>
<IsContent>true</IsContent>
<IsEstablishment>false</IsEstablishment>
<IsEvents>false</IsEvents>
<IsUnclassified>false</IsUnclassified>
</GroupType>
</ArrayOfGroupType>