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

Price Plan Durations

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

URL / Endpoint

Need help with Postman?

GET /v1/pictures/getPricePlanDurations

Request

PropertyTypeDescription
This operation does not accept any parameters.

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/getPricePlanDurations
  ?apiKey={your-api-key}

Response

PropertyTypeDescription
PricePlanDurations Array of aws:PricePlanDurations List of PricePlanDurations.

Response Sample

The following example shows the price plan durations.

[
{
"DurationID": 1,
"Duration": "24 Hours"
},
{
"DurationID": 3,
"Duration": "3 Days"
},
{
"DurationID": 7,
"Duration": "1 Week"
},
{
"DurationID": 14,
"Duration": "2 Weeks"
},
{
"DurationID": 31,
"Duration": "1 Month"
},
{
"DurationID": 32,
"Duration": "3 Months"
},
{
"DurationID": 33,
"Duration": "6 Months"
},
{
"DurationID": 34,
"Duration": "1 Year"
}
]
<ArrayOfPicturePricePlanDurations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">
<PicturePricePlanDurations>
<Duration>24 Hours</Duration>
<DurationID>1</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>3 Days</Duration>
<DurationID>3</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>1 Week</Duration>
<DurationID>7</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>2 Weeks</Duration>
<DurationID>14</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>1 Month</Duration>
<DurationID>31</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>3 Months</Duration>
<DurationID>32</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>6 Months</Duration>
<DurationID>33</DurationID>
</PicturePricePlanDurations>
<PicturePricePlanDurations>
<Duration>1 Year</Duration>
<DurationID>34</DurationID>
</PicturePricePlanDurations>
</ArrayOfPicturePricePlanDurations>