REST API: HistoricPlaces/FilterCards

Returns list of all historic place, each with associated trail data seen in 3 col card sections on traillink.com/historicplaces

Resource URI

/HistoricPlaces/FilterCards/

Resource Properties

ParameterFormatDescriptionAllows Null
AcctID number id of historic place no
Name string name of historic place no
Type string type for historic place (long, short, poi story) no

PhotoID

number photo ID to be used with image processor to return photo no

Description

string full description of historic place no

State

string state of historic place no

EraEvents

string List of categories seperated by ";" no

Themes

string List of categories seperated by ";" no

TrailID

string ID of trail related to historic place no

TrailName

string name of trail related to TrailID no

Error Responses

HTTP GET

n/a

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP POST

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP PUT

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP DELETE

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:


REST API: HistoricPlaces/FilterCards Set

N/A

Resource URI

Set Filters

ParameterFormatDescriptionAllows Null
xxx xxx xxx xxx

HTTP GET

GET returns list of historic places

JSON Request:

JSON Response:

[
{
"AcctID": 12663310,
"Description": "This story was developed in partnership with\r\n....",
"EraEvents": "1900-1950",
"Name": "The Great Big Baked Potato",
"PhotoID": 200365,
"State": "ID",
"Themes": "Agriculture & Ranching;Commerce;Railroads",
"TrailID": 6016382,
"TrailName: "NorPac Trail"
},
{
....
}
]

XML Request:

XML Response:

HTTP POST

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP PUT

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP DELETE

N/A

JSON Request:

JSON Response:

XML Request:

XML Response: