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

Get Services

This API operation returns the services that the current user is offering.

URL / Endpoint

Need help with Postman?

GET /v1/account/getServices

GET /v1/Groups/account/getServices (See Group manager)

Request

PropertyTypeDescription
This operation does not accept any parameters.

Group manager

If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.

The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. Additionally, it has the following extra parameters:

PropertyTypeDescription
UserID integer Required. The ID of a member in the group that will be impersonated for this request.

Request Information

HTTP Method / Verb

This endpoint is using the HTTP GET method.

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

An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.

Scopes

This endpoint requires the following scope:

Scope
profile_services

Samples

GET method

https://api-sandbox.adultwork.com/v1/account/GetServices
Authorization: bearer {your-access-token}

GET as Group manager

https://api-sandbox.adultwork.com/v1/Groups/account/GetServices
?UserID=123456
Authorization: bearer {your-access-token}

Response

PropertyTypeDescription
UserID integer The ID of the AdultWork.com user profile. This is the primary means of identifying a profile.
IsOfferingServices boolean Represents whether the user's type allows him/her to offer services to others.
CanChangeServices boolean Represents whether the user is allowed to change his/her services. If this is false, changes made using UpdateServices will not go through.
IsEscort boolean Represents whether the user is providing Escort Services. This is needed for the Booking endpoints.
IsWebcam boolean Represents whether the user is providing Webcam Work/Services. This is needed for the Webcam and DirectCam endpoints.
IsPhoneChat boolean Represents whether the user is providing Telephone-based Chat Services. This is needed for the PhoneChat endpoints.
IsSMSChat boolean Represents whether the user is providing SMS-based Chat Services.
IsContent boolean Represents whether the user is providing Erotic Content Services. This may be needed for the Picture and Movie endpoints.
IsAlternative boolean Represents whether the user is providing Alternative Services. If this value is true, the values of Alternatives will be used.
Alternatives aws:AlternativePracticesList An object containing all alternative practice options selected by the user, and whether this user wishes to partake in if IsAlternative is true. For a list of possible options, see GetAlternativePractices.
IsOtherServices boolean Represents whether the user is providing Other Services. If this value is true, OtherServices is guaranteed to not be empty.
OtherServices array of aws:OtherService Contains a list of options selected by the user, containing all other services this user is offering. For a list of possible options, see GetOtherServices.

Response Sample

The following example returns the services of a user who provides all services.

{
    "UserID": 123456,
    "IsOfferingServices": true,
    "CanChangeServices": true,
    "IsEscort": true,
    "IsWebcam": true,
    "IsPhoneChat": true,
    "IsSMSChat": true,
    "IsContent": true,
    "IsAlternative": true,
    "Alternatives": {
        "Practices": [
            {
                "PracticeID": 1,
                "Practice": "Bondage & Discipline"
            },
            ...
        ],
        "DoesPhysicalMeetings": true
    },
    "IsOtherServices": true,
    "OtherServices": [
        {
            "CategoryID": 1,
            "Category": "Photographers"
        },
        ...
    ]
}
<GetServicesOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Account.Services">
    <Alternatives>
        <DoesPhysicalMeetings>true</DoesPhysicalMeetings>
        <Practices xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models.AlternativePractices">
            <d2p1:AlternativePractice>
                <d2p1:Practice>Bondage & Discipline</d2p1:Practice>
                <d2p1:PracticeID>1</d2p1:PracticeID>
            </d2p1:AlternativePractice>
            ...
        </Practices>
    </Alternatives>
    <CanChangeServices>true</CanChangeServices>
    <IsAlternative>true</IsAlternative>
    <IsContent>true</IsContent>
    <IsEscort>true</IsEscort>
    <IsOfferingServices>true</IsOfferingServices>
    <IsOtherServices>true</IsOtherServices>
    <IsPhoneChat>true</IsPhoneChat>
    <IsSMSChat>true</IsSMSChat>
    <IsWebcam>true</IsWebcam>
    <OtherServices xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models.OtherServices">
        <d2p1:OtherService>
            <d2p1:Category>Photographers</d2p1:Category>
            <d2p1:CategoryID>1</d2p1:CategoryID>
        </d2p1:OtherService>
        ...
    </OtherServices>
    <UserID>123456</UserID>
</GetServicesOutput>