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

Update Services

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

URL / Endpoint

Need help with Postman?

PUT /v1/Account/UpdateServices

PUT /v1/Groups/Account/UpdateServices (See Group manager)

Request

PropertyTypeDescription
IsOfferingServices boolean Required. Indicates whether this user is offering services. If this is false, this means the user is seeking services instead.
IsEscort boolean Required if IsOfferingServices equals true. Indicates if this user is providing Escort Services. This is needed for the Booking endpoints.
IsWebcam boolean Required if IsOfferingServices equals true. Indicates if this user is providing Webcam Work/Services. This is needed for the Webcam and DirectCam endpoints.
IsPhoneChat boolean Required if IsOfferingServices equals true. Indicates if this user is providing Telephone-based Chat Services. This is needed for the PhoneChat endpoints.
IsSMSChat boolean Required if IsOfferingServices equals true. Indicates if this user is providing SMS-based Chat Services.
IsContent boolean Required if IsOfferingServices equals true. Indicates if this user is providing Erotic Content Services. This may be needed for the Picture and Movie endpoints.
IsAlternative boolean Required if IsOfferingServices equals true. Indicates if this user is providing Alternative Services.
Alternatives aws:UpdateAlternatives Required if IsAlternative equals true. An object containing the list of alternative services provided by the user, and whether the user wants to provide these via Physical Meetings.
IsOtherServices boolean Required if IsOfferingServices equals true. Indicates if this user is providing Other Services. This can only be true if IsEscort, IsWebcam, IsPhoneChat, IsSMSChat, IsContent and IsAlternative are all false.
OtherServices string of comma-seperated integers Required if IsOtherServices equals true. A list of other services that the user is providing. Enabling these comes with a daily fee of 1.00 Credits for the first service, and 0.10 Credits for any additional services (VAT excluded). For a list of services, see GetOtherServices.

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

Parameters can be passed to this operation using the HTTP PUT method with serialized JSON in the request body.

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

PUT method

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

{
    "IsOfferingServices": true,
    "IsEscort": true,
    "IsWebcam": true,
    "IsPhoneChat": false,
    "IsSMSChat": false,
    "IsContent": false,
    "IsAlternative": true,
    "Alternatives": {
        "Practices": "1,2,3",
        "DoesPhysicalMeetings": false
    },
    "IsOtherServices": true,
    "OtherServices": "1,2,3"
}

PUT as Group manager

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

{
    "UserID": 123456
    "IsOfferingServices": true,
    "IsEscort": true,
    "IsWebcam": true,
    "IsPhoneChat": false,
    "IsSMSChat": false,
    "IsContent": false,
    "IsAlternative": true,
    "Alternatives": {
        "Practices": "1,2,3",
        "DoesPhysicalMeetings": false
    },
    "IsOtherServices": true,
    "OtherServices": "1,2,3"
}

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": false,
    "IsSMSChat": false,
    "IsContent": false,
    "IsAlternative": true,
    "Alternatives": {
        "Practices": [
            {
                "PracticeID": 1,
                "Practice": "Bondage & Discipline"
            },
            ...
        ],
        "DoesPhysicalMeetings": false
    },
    "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>false</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>false</IsContent>
    <IsEscort>true</IsEscort>
    <IsOfferingServices>true</IsOfferingServices>
    <IsOtherServices>true</IsOtherServices>
    <IsPhoneChat>false</IsPhoneChat>
    <IsSMSChat>false</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>