REST API: Accounts/Trails/Reviews

The Set is used to get the reviews for trails that were submitted by the arg acctID user. API key only

Resource URI

only the set is used

Resource Properties

Parameter

Format

Description

Allows Null

rating decimal the user's trail rating attached to this review no 
reviewDate date Date of the review no
reviewID long the unique identifier for the review  no
reviewText string The text of the review  no
submitterAcctID long the acctID of the user who submitted the review no 
submitterName string the username of the user who submitted the review no
title string  the title of the review no
trailID long  the acctID of the trail being reviewed no 
trailName string  the name of the trail being reviewed no 

Error Responses


REST API: Accounts/Trails/Reviews Set

Get the reviews for trails that were submitted by the arg acctID user

Resource URI

/Accounts/7440532/Trails/Reviews/?api_key=xxx

Set Filters

HTTP GET

Get thew reviews submitted by the arg acctID

JSON Request:

body empty

JSON Response:

[{
"rating": 5,
"reviewDate": "2011-01-23 20:34:16Z",
"reviewID": 319639,
"reviewText": "",
"submitterAcctID": 0,
"submitterName": "johnqsample",
"title": "Really Great trail",
"trailID": 6683560,
"trailName": "Trail Name Test 2"
}]

XML Request:

XML Response: