Get and filter a list of all reviews for this user

GET Parameters

Parameter Description  

limit (numeric)

The number of records to return
Default: 15

offset (numeric)

The number of records to 'offset' the results by

(for pagination)

order_by (string)

The column to sort on
Default: added

useful: The 'usefulness' score of the review
added: The date the review was added

order (string)

Sort Order
Default: DESC

ASC: ascending
DESC: Descending

start_date (UTC date-time)

A start date filter
Default: First day of this month

e.g. 2017-11-01T00:00:00Z

end_date (UTC date-time)

An end date filter
Default: Current Time

e.g. 2017-11-21T15:23:37Z

location_id (numeric)

Location id to filter on

(optional)
* denotes a required field

Example JSON response:

{
"results": [
{
"review": {
"review_id": 437,
"user_id": 60,
"is_published": 1,
"location_id": 18,
"location_name": "Acme Dive Tours Cairns",
"rating": 4,
"title": "I Just loved my time there",
"review": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lectus ipsum, laoreet at cursus eu, aliquam eu augue. Suspendisse sem tellus, aliquam mollis arcu vel, tempor varius dui. Vestibulum vestibulum, neque non accumsan dictum, erat urna tempus diam, ullamcorper euismod nunc erat non turpis. Phasellus ornare nunc nec magna eleifend rhoncus. Morbi molestie arcu vitae turpis convallis blandit. Duis a enim ut mi rhoncus iaculis. Ut luctus, lacus nec consequat malesuada, arcu nisi accumsan nisl, non pharetra justo est vel diam. Suspendisse potenti. Nunc ultricies suscipit congue. Cras pellentesque ultrices dui, ut porttitor erat vestibulum vehicula. Vestibulum egestas lobortis ipsum aliquam ultrices. ",
"date_written": "2013-09-14T23:13:33Z",
"recommend": 1,
"language_code": "en",
"language_name": "English",
"written_in_city": "Berlin",
"written_in_country_code": "DE",
"written_in_country_name": "Germany",
"vote_positive": 0,
"vote_negative": 0,
"vote_total": 0,
"comments": [

],
"review_form_questions": [

],
"second_form_questions": [

],
"request": {
"type": "invite",
"code": "",
"request_id": 10454,
"template_id": 16
},
"reviewer": {
"name": " ",
"first_name": "",
"last_name": "",
"email": "example@example.com"
"city": "",
"can_publish_city": 1,
"can_publish_experience": 0,
"gender": "not_set",
"can_publish_gender": 1,
"experience": false,
"age_group": false,
"can_publish_age_group": 0,
"self_description": false,
"can_publish_self_description": 0,
"avatar_url": null,
"can_publish_avatar": 1
},
"resources": {
"url": "http:\/\/scubatribe.com\/profile\/acme-dive-tours\/review\/437",
"profile_url": "http:\/\/scubatribe.com\/profile\/acme-dive-tours",
"stars_50px": "http:\/\/scubatribe.com\/\/images\/stars\/500px\/stars_4.png",
"stars_100px": "http:\/\/scubatribe.com\/\/images\/stars\/100px\/stars_4.png",
"stars_150px": "http:\/\/scubatribe.com\/\/images\/stars\/150px\/stars_4.png",
"stars_200px": "http:\/\/scubatribe.com\/\/images\/stars\/200px\/stars_4.png"
}
}
},
....
],
"order_by": "add_time",
"order": "DESC",
"records_from": 1,
"records_to": 15,
"num_records_total": 49,
"num_records": 15,
"status": "OK"
}

 

Back to Top