This API operation returns the services that the current user is offering.
GET
/v1/account/getServices
GET
/v1/Groups/account/getServices
(See Group manager)
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. |
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:
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of a member in the group that will be impersonated for this request. |
This endpoint is using the HTTP GET method.
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.
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.
This endpoint requires the following scope:
Scope |
---|
profile_services |
Property | Type | Description |
---|---|---|
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. |
The following example returns the services of a user who provides all services.