REST API: Attractions

List of attractions near a trail id. Only hotel is a valid attraction. Api key required.

Resource URI

Only the set is used

Resource Properties

Parameter

Format

Description

Allows Null

city string city for the attraction  no
distance_in_miles decimal  distance from the trail  no 
highRate  decimal  tope of range for rates  yes
id  long  unique identifier no 
lowRate  decimal  bottom of range for rates  yes 
name  string  name of the attraction  no 
rating  decimal  user rating of the attraction  no 
state  string  state of the attraction  no 
street  string  street of the attraction  no 
zip  string  zipcode of the attraction  no 

Error Responses

Invalid Trail ID

REST API: Attractions Set

List of attractions near a trail id. Only hotel is a valid attraction.  Api key required.

Resource URI

/Attractions/?trail_id=6683560&Attraction=HOTEL&api_key=xxx

Set Filters

ParameterFormatDescriptionAllows Null
trail_id number the acctid for the trail  no
attraction string the type of attraction. curently only HOTEL is supported no

HTTP GET

Returns the 10 closest attractions of type attraction to trail with acct_id = trail_id

JSON Request:

empty

JSON Response:

[{
"city": "Prattville",
"distance_in_miles": 10.746884804432,
"highRate": 49.01,
"id": 129340,
"lowRate": 49.01,
"name": "Knights Inn Prattville",
"rating": 1,
"state": "AL",
"street": "1657 Hwy 31 N",
"zip": "36068"
}, {
"city": "Prattville",
"distance_in_miles": 13.82557569530290,
"highRate": 73.99,
"id": 127795,
"lowRate": 68.99,
"name": "Econo Lodge Prattville",
"rating": 1,
"state": "AL",
"street": "798 Business Park Drive",
"zip": "36066"
}, {
"city": "Prattville",
"distance_in_miles": 13.87718887103760,
"highRate": 79.99,
"id": 127681,
"lowRate": 79.99,
"name": "Quality Inn Prattville",
"rating": 2,
"state": "AL",
"street": "797 Business Park Drive",
"zip": "36067"
}, {
"city": "Prattville",
"distance_in_miles": 13.88859696720370,
"highRate": 67,
"id": 58058,
"lowRate": 62,
"name": "Super 8 Pratville\/Montgomery",
"rating": 1,
"state": "AL",
"street": "639 Malwest Dr",
"zip": "36108"
}, {
"city": "Prattville",
"distance_in_miles": 13.99659025002580,
"highRate": 120,
"id": 79310,
"lowRate": 89,
"name": "La Quinta Inn & Suites Prattville",
"rating": 2,
"state": "AL",
"street": "261 Interstate Commercial Parkloop",
"zip": "36066"
}, {
"city": "Prattville",
"distance_in_miles": 14.18764233421520,
"highRate": 74.99,
"id": 37754,
"lowRate": 74.99,
"name": "Jameson Inn Prattville",
"rating": 2,
"state": "AL",
"street": "104 Jameson Court",
"zip": "36067"
}, {
"city": "Prattville",
"distance_in_miles": 14.81212761895520,
"highRate": 100,
"id": 46927,
"lowRate": 70,
"name": "Days Inn and Suites Prattville-Montgomery",
"rating": 3,
"state": "AL",
"street": "600 Old Farm Lane South",
"zip": "36066"
}, {
"city": "Millbrook",
"distance_in_miles": 15.03400667141120,
"highRate": 89,
"id": 82782,
"lowRate": 78,
"name": "Country Inn & Suites By Carlson, Prattville, Al",
"rating": 2,
"state": "AL",
"street": "1925 COBBS FORD ROAD",
"zip": "36054"
}, {
"city": "Prattville",
"distance_in_miles": 15.10350859684250,
"highRate": 127,
"id": 112190,
"lowRate": 109,
"name": "Courtyard Montgomery Prattville",
"rating": 3,
"state": "AL",
"street": "2620 Legends Parkway",
"zip": "36066"
}, {
"city": "Prattville",
"distance_in_miles": 15.24032466727560,
"highRate": 119,
"id": 91095,
"lowRate": 109,
"name": "Montgomery Marriott Prattville Hotel & Conf Ctr at Capitol Hill",
"rating": 3,
"state": "AL",
"street": "2500 Legends Circle",
"zip": "36066"
}]

XML Request:

XML Response: