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

Price Plans

This API operation returns the price plans used for selling access to the user's private gallery.

URL / Endpoint

Need help with Postman?

GET /v1/pictures/getPricePlans

Request

PropertyTypeDescription
UserID integer Required. The User ID of the AdultWork.com member profile you wish the API to return the price plan of.
VATIPAddress string If supplied it will check the country of that IP address and add the local VAT to the price. For example: IP addresses from the UK will add 20 % to the price.
VATUserID integer If supplied it will overrule VATIPAddress. It will get the users vat details and add the vat to the price.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation 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

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/pictures/getPricePlans
  ?apiKey={your-api-key}&UserID=1

Response

PropertyTypeDescription
PricePlans Array of aws:PricePlans List of PricePlans.

Response Sample

The following example shows the price plans of a user.

[
{
"PricePlanID": 1,
"Duration": "1 Week",
"Price": 1.573
},
{
"PricePlanID": 2,
"Duration": "2 Weeks",
"Price": 2.783
},
{
"PricePlanID": 3,
"Duration": "1 Month",
"Price": 4.114
}
]
<ArrayOfPicturePricePlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">
<PicturePricePlan>
<Duration>1 Week</Duration>
<Price>1.573000</Price>
<PricePlanID>1</PricePlanID>
</PicturePricePlan>
<PicturePricePlan>
<Duration>2 Weeks</Duration>
<Price>2.783000</Price>
<PricePlanID>2</PricePlanID>
</PicturePricePlan>
<PicturePricePlan>
<Duration>1 Month</Duration>
<Price>4.114000</Price>
<PricePlanID>3</PricePlanID>
</PicturePricePlan>
</ArrayOfPicturePricePlan>