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

Pictures

This API operation returns the picture information of the users based on the properties passed in.

URL / Endpoint

Need help with Postman?

GET /v1/search/searchPictures

Request

PropertyTypeDescription
MinPictureSize integer The minimum size (in bytes) of the picture.
MinGalleryPrice decimal The minimum price of the price plan associated with the private gallery. This price is without VAT. See the getPricePlans method.
MaxGalleryPrice decimal The maximum price of the price plan associated with the private gallery. This price is without VAT. See the getPricePlans method
MinGallerySize integer The minimum amount of pictures in the user's private gallery.
Keywords string Search pictures on Title or Description.
IsEscort boolean If set to true, the owner of the pictures returned will offer Escort services. Default is false.
IsWebcam boolean If set to true the owner of the pictures returned will offer Webcam services. Default is false.
IsPhoneChat boolean If set to true the owner of the pictures returned will offer Phone Chat services. Default is false.
GenderID integer Returns pictures of owners that have selected their Gender to one that relates to a GenderID. See the getGenders method.
MinAge integer Returns pictures of owners that are at least the age supplied in MinAge.
MaxAge integer Returns pictures of owners that are younger than the age supplied in MaxAge.
Ethnicity string Returns pictures of owners that have this ethnicity. See the getEthnicity method.
DressSize string Returns pictures of owners that are have this dress size. See the getDressSizes method.
BustSize string Returns pictures of owners that are have this bust size. See the getBustSizes method.
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.
OrderBy string Sets the order in which the pictures will be returned. Default is dateuploaded. Order options are galleryprice, gallerysize and size.
PageSize integer Sets the number of pictures on each page of the result set. Accepts values from 1 to 100. Default is 50.
PageNumber integer Returns a specific page in the result set. Accepts values from 1 onwards.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.

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.

This endpoint has the following optional headers:

HeadersValue
X-MaskImages 1 What's this?

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

Response

PropertyTypeDescription
PageNumber integer Represents the current page number.
PageCount integer Represents the total number of pages in the result set.
PageSize integer Represents how many pictures are listed on each page.
PicturesTotal integer Represents the total number of pictures in the result set.
Pictures Array of aws:Pictures List of pictures data.

Response Sample

The following example shows the picture of one user

{
"PageNumber": 1,
"PageCount": 1,
"PageSize": 1,
"PicturesTotal": 1,
"Pictures": [
{
"PictureID": 1,
"Title": "Picture Title",
"Description": "Picture Description",
"ThumbSafe": false,
"ThumbUrl": null,
"PreviewSafe": false,
"PreviewUrl": null,
"FileSafe": false,
"FileUrl": null,
"Width": 1024,
"Height": 768,
"FileSize": 247069,
"NonNude": false,
"DateAdded": "2015-09-19T12:36:02.71",
"AlbumId": null,
"Gallery": {
"GallerySize": 58,
"RegistrationDuration": 7,
"RegistrationPrice": 1.20
},
"User": {
"UserID": 123456,
"Nickname": "
JosepheneBlogs",
"IsEscort": true,
"IsWebcam": false,
"IsPhoneChat": false,
"IsSMSChat": true,
"AvailableTodayEscort": false,
"AvailableNowWebcam": true,
"AvailableNowPhoneChat": true,
"Age": 21,
"Ratings": {
"Total": 33,
"Positive": 34,
"Neutral": 0,
"Negative": 1,
"Ratings": 35,
"Disputes": 0
}
}
},...
]
}
<PictureSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">
<PageCount>1</PageCount>
<PageNumber>1</PageNumber>
<PageSize>1</PageSize>
<Pictures>
<PictureResult>
<AlbumId i:nil="true" />
<DateAdded>2015-09-19T12:36:02.71</DateAdded>
<Description>Picture Description</Description>
<FileSafe>false</FileSafe>
<FileSize>247069</FileSize>
<FileUrl i:nil="true" />
<Gallery>
<GallerySize>58</GallerySize>
<RegistrationDuration>7</RegistrationDuration>
<RegistrationPrice>1.2000</RegistrationPrice>
</Gallery>
<Height>768</Height>
<NonNude>false</NonNude>
<PictureID>1</PictureID>
<PreviewUrl i:nil="true" />
<PreviewSafe>false</PreviewSafe>
<ThumbUrl i:nil="true" />
<ThumbSafe>false</ThumbSafe>
<Title>Picture Title</Title>
<User>
<Age>21</Age>
<AvailableNowPhoneChat>true</AvailableNowPhoneChat>
<AvailableNowWebcam>true</AvailableNowWebcam>
<AvailableTodayEscort>false</AvailableTodayEscort>
<IsEscort>true</IsEscort>
<IsPhoneChat>false</IsPhoneChat>
<IsSMSChat>true</IsSMSChat>
<IsWebcam>false</IsWebcam>
<Nickname>JosepheneBlogs</Nickname>
<Ratings xmlns:d5p1="http://schemas.datacontract.org/2004/07/API.Models.Profile">
<d5p1:Disputes>0</d5p1:Disputes>
<d5p1:Negative>1</d5p1:Negative>
<d5p1:Neutral>0</d5p1:Neutral>
<d5p1:Positive>34</d5p1:Positive>
<d5p1:Ratings>35</d5p1:Ratings>
<d5p1:Total>33</d5p1:Total>
</Ratings>
<UserID>123456</UserID>
</User>
<Width>1024</Width>
</PictureResult>
</Pictures>
</PictureSearchResult>