Profile Ratings

method: getRatings

This API operation returns the ratings of the user based on the UserID passed in.

URL / Endpoint

GET or POST /v1/profile/getRatings

Request

PropertyTypeDescription
UserID integer Required. The User ID of the AdultWork.com member profile you wish the API to return.
ReturnOverview boolean If set to true, the overview is returned. Default is false.
ReturnRatings boolean If set to true, the ratings are returned. Default is false.
ReturnFeedback boolean If set to true, the all feedback are returned. Default is false.
ReturnEscortFeedback boolean If set to true, the escort feedback is returned. Default is false.
ReturnWebcamIMFeedback boolean If set to true, the webcamIM feedback is returned. Default is false.
ReturnPhoneChatFeedback boolean If set to true, the phonechat feedback is returned. Default is false.
ReturnSalesAuctionsFeedback boolean If set to true, the salesauctions feedback is returned. Default is false.
OrderBy string Sets the order in which the feedback will be returned. Default is ratingdate-desc. Order options are nickname-asc, nickname-desc and ratingdate-asc
FeedbackPerPage integer Sets the number of feedback items on each page of the result set. Accepts values from 1 to 1000. Default is 100.
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 POST method with serialized JSON in the request body, or 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.

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/profile/getRatings
  ?apiKey={your-api-key}
  &UserID=123456&ReturnOverview=true

POST method

POST https://api-sandbox.adultwork.com/v1/profile/getRatings HTTP/1.1
Host: api-sandbox.adultwork.com
Content-Length: 77
Accepts: application/json
Content-Type: application/json
X-ApiKey: {your-api-key}
{"UserID":123456, "ReturnOverview":true}
            
curl -v https://api-sandbox.adultwork.com/v1/profile/getRatings \
-H "Content-Type:application/json" \
-H "X-Api-Key: {your-api-key}" \
-d '{
  "UserID":123456,
  "ReturnOverview":true,
}' 

Response

PropertyTypeDescription
HasFeedback boolean If set to true data for Feedback will be populated.
Feedback aws:Feedback The feedback data.
HasRatingsOverview boolean If set to true data for RatingsOverview will be populated.
RatingsOverview aws:RatingsOverview The ratings overview.
HasRatings boolean If set to true data for Ratings will be populated.
Ratings aws:Ratings The ratings.

Response Sample

The following example returns a ratings with ReturnOverview, ReturnRatings and ReturnFeedback set to true.

{
"HasFeedback": true,
"Feedback": {
"PageCount": 1,
"PageNumber": 1,
"FeedbackTotal": 0,
"FeedbackPerPage": 100,
"Escort": [
{
"FeedbackType": "Positive",
"FeedbackColor": "green",
"RatingDate": "2015-03-27T12:42:50.087",
"Comment": "Great meeting really enjoyied it.",
"HasResponse": false,
"FeedbackResponse": null,
"IsDisputed": false,
"FieldReportID": null,
"Author": {
"UserID": 123456,
"Role": "Seeking Services",
"Nickname": "JosepheneBlogs",
"Active": true,
"Location": "London, United Kingdom",
"RatingsCount": 0,
"Rating": 0,
"RatingPositive": 0,
"RatingNeutral": 0,
"RatingNegative": 0,
"RatingDisputes": 0
}
}
],
"WebcamIM": [
{
"FeedbackType": "Positive",
"FeedbackColor": "green",
"RatingDate": "2015-04-27T12:42:50.087",
"Comment": "Great show really enjoyied it.",
"HasResponse": false,
"FeedbackResponse": null,
"IsDisputed": false,
"FieldReportID": null,
"Author": {
"UserID": 123456,
"Role": "Seeking Services",
"Nickname": "JosepheneBlogs",
"Active": true,
"Location": "London, United Kingdom",
"RatingsCount": 0,
"Rating": 0,
"RatingPositive": 0,
"RatingNeutral": 0,
"RatingNegative": 0,
"RatingDisputes": 0
}
}
],
"PhoneChat": [
{
"FeedbackType": "Positive",
"FeedbackColor": "green",
"RatingDate": "2015-05-27T12:42:50.087",
"Comment": "Great chat really enjoyied it.",
"HasResponse": false,
"FeedbackResponse": null,
"IsDisputed": false,
"FieldReportID": null,
"Author": {
"UserID": 123456,
"Role": "Seeking Services",
"Nickname": "JosepheneBlogs",

"Active": true,
"Location": "London, United Kingdom",
"RatingsCount": 0,
"Rating": 0,
"RatingPositive": 0,
"RatingNeutral": 0,
"RatingNegative": 0,
"RatingDisputes": 0
}
}
],
"SalesAuctions": [
{
"FeedbackType": "Positive",
"FeedbackColor": "green",
"RatingDate": "2015-06-27T12:42:50.087",
"Comment": "Great item really enjoyied it.",
"HasResponse": false,
"FeedbackResponse": null,
"IsDisputed": false,
"FieldReportID": null,
"Author": {
"UserID": 123456,
"Role": "Seeking Services",
"Nickname": "JosepheneBlogs",

"Active": true,
"Location": "London, United Kingdom",
"RatingsCount": 0,
"Rating": 0,
"RatingPositive": 0,
"RatingNeutral": 0,
"RatingNegative": 0,
"RatingDisputes": 0
}
}
]
},
"Nickname": "
JosepheneBlogs",
"HasRatingsOverview": true,
"RatingsOverview": {
"Rating": 33,
"RatingsCount": 39,
"Disputes": 4,

"Positive": 34, "Neutral": 0, "Negative": 1,
},
"HasRatings": true,
"Ratings": {
"Positive": {
"LastTwoWeeks": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
},
"LastThreeMonths": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
},
"OverThreeMonthsAgo": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
}
},
"Neutral": {
"LastTwoWeeks": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
},
"LastThreeMonths": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
},
"OverThreeMonthsAgo": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
}
},
"Negative": {
"LastTwoWeeks": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
},
"LastThreeMonths": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
},
"OverThreeMonthsAgo": {
"Total": 0,
"Escort": 0,
"Webcam": 0,
"PhoneChat": 0,
"SalesAuctions": 0,
"DirectChat": 0,
"DirectCam": 0
}
}
}
}
<RatingsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Ratings">
<Feedback>
<Escort>
<FeedbackArticle>
<Author>
<Location>London, United Kingdom</Location>
<Nickname>JosepheneBlogs</Nickname>
<Active>true</Active>
<Rating>0</Rating>
<RatingDisputes>0</RatingDisputes>
<RatingNegative>0</RatingNegative>
<RatingNeutral>0</RatingNeutral>
<RatingPositive>0</RatingPositive>
<RatingsCount>0</RatingsCount>
<Role>Seeking Services</Role>
<UserID>123456</UserID>
</Author>
<Comment>Great meeting really enjoyied it.</Comment>
<FeedbackColor>green</FeedbackColor>
<FeedbackResponse i:nil="true" />
<FeedbackType>Positive</FeedbackType>
<FieldReportID i:nil="true" />
<HasResponse>false</HasResponse>
<IsDisputed>false</IsDisputed>
<RatingDate>2012-03-27T12:42:50.087</RatingDate>
</FeedbackArticle>
</Escort>
<FeedbackPerPage>100</FeedbackPerPage>
<FeedbackTotal>4</FeedbackTotal>
<PageCount>1</PageCount>
<PageNumber>1</PageNumber>
<PhoneChat>
<FeedbackArticle>
<Author>
<Location>London, United Kingdom</Location>
<Nickname>JosepheneBlogs</Nickname>

<Active>true</Active>
<Rating>0</Rating>
<RatingDisputes>0</RatingDisputes>
<RatingNegative>0</RatingNegative>
<RatingNeutral>0</RatingNeutral>
<RatingPositive>0</RatingPositive>
<RatingsCount>0</RatingsCount>
<Role>Seeking Services</Role>
<UserID>123456</UserID>
</Author>
<Comment>Great chat really enjoyied it.</Comment>
<FeedbackColor>green</FeedbackColor>
<FeedbackResponse i:nil="true" />
<FeedbackType>Positive</FeedbackType>
<FieldReportID i:nil="true" />
<HasResponse>false</HasResponse>
<IsDisputed>false</IsDisputed>
<RatingDate>2012-04-27T12:42:50.087</RatingDate>
</FeedbackArticle>
</PhoneChat>
<SalesAuctions>
<FeedbackArticle>
<Author>
<Location>London, United Kingdom</Location>
<Nickname>JosepheneBlogs</Nickname>

<Active>true</Active>
<Rating>0</Rating>
<RatingDisputes>0</RatingDisputes>
<RatingNegative>0</RatingNegative>
<RatingNeutral>0</RatingNeutral>
<RatingPositive>0</RatingPositive>
<RatingsCount>0</RatingsCount>
<Role>Seeking Services</Role>
<UserID>123456</UserID>
</Author>
<Comment>Great item really enjoyied it.</Comment>
<FeedbackColor>green</FeedbackColor>
<FeedbackResponse i:nil="true" />
<FeedbackType>Positive</FeedbackType>
<FieldReportID i:nil="true" />
<HasResponse>false</HasResponse>
<IsDisputed>false</IsDisputed>
<RatingDate>2012-05-27T12:42:50.087</RatingDate>
</FeedbackArticle>
</SalesAuctions>
<WebcamIM>
<FeedbackArticle>
<Author>
<Location>London, United Kingdom</Location>
<Nickname>JosepheneBlogs</Nickname>

<Active>true</Active>
<Rating>0</Rating>
<RatingDisputes>0</RatingDisputes>
<RatingNegative>0</RatingNegative>
<RatingNeutral>0</RatingNeutral>
<RatingPositive>0</RatingPositive>
<RatingsCount>0</RatingsCount>
<Role>Seeking Services</Role>
<UserID>123456</UserID>
</Author>
<Comment>Great show really enjoyied it.</Comment>
<FeedbackColor>green</FeedbackColor>
<FeedbackResponse i:nil="true" />
<FeedbackType>Positive</FeedbackType>
<FieldReportID i:nil="true" />
<HasResponse>false</HasResponse>
<IsDisputed>false</IsDisputed>
<RatingDate>2012-06-27T12:42:50.087</RatingDate>
</FeedbackArticle>
</WebcamIM>
</Feedback>
<HasFeedback>true</HasFeedback>
<Nickname>JosepheneBlogs</Nickname>
<HasRatings>true</HasRatings>
<HasRatingsOverview>true</HasRatingsOverview>
<Ratings>
<Negative>
<LastThreeMonths>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</LastThreeMonths>
<LastTwoWeeks>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</LastTwoWeeks>
<OverThreeMonthsAgo>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</OverThreeMonthsAgo>
</Negative>
<Neutral>
<LastThreeMonths>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</LastThreeMonths>
<LastTwoWeeks>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</LastTwoWeeks>
<OverThreeMonthsAgo>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</OverThreeMonthsAgo>
</Neutral>
<Positive>
<LastThreeMonths>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</LastThreeMonths>
<LastTwoWeeks>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</LastTwoWeeks>
<OverThreeMonthsAgo>
<DirectCam>0</DirectCam>
<DirectChat>0</DirectChat>
<Escort>0</Escort>
<PhoneChat>0</PhoneChat>
<SalesAuctions>0</SalesAuctions>
<Webcam>0</Webcam>
</OverThreeMonthsAgo>
</Positive>
</Ratings>
<RatingsOverview>
<Disputes>4</Disputes>
<Rating>33</Rating>
<RatingsCount>39</RatingsCount>
<Negative>1</Negative> <Neutral>0</Neutral> <Positive>34</Positive>
</RatingsOverview>
</RatingsResult>