Boone allows organizations to store custom data to be associated with Boone place records. This makes it easy to build applications on top of the Boone suite of APIs with your own specific layers of data. When you use this endpoints to create and update place records, the attribute values and tags from that custom data will be returned in any calls from the Search and Discovery endpoints like Search, Autocomplete and Place Details. All place data is formatted according to the JSON Format documentation. All custom place data is only accessible from API calls coming from your organization.
/api/v2/places/:place_id
Fetch your place data selected by the place id
value.
Returns
status: 200
{
"data": {
"id":92879237,
"name":"Senate",
"alt_names":[],
"source_id":42,
"source_item_id":"134193393637",
"source_item_url":"https://www.facebook.com/SENATE-Restaurant-134193393637/",
"contact_info":{},
"locations":[{}],
"details":{},
"parking_details":{},
"restaurant_details":{},
"campground_details":{},
"hotel_details":{},
"engagement":{},
"reviews":[{}],
"images":[{}],
"hours":{
"<default>":{
"mon_open_close":[],
"tue_open_close":[],
"wed_open_close":[],
"thu_open_close":[],
"fri_open_close":[],
"sat_open_close":[],
"sun_open_close":[],
}
},
"tags":[],
"temporary_closures":[]
}
}
/api/v2/places
Create a new place record.
Accepts
{
"name":"Senate",
"alt_names":[],
"source_id":42,
"source_item_id":"134193393637",
"source_item_url":"https://www.facebook.com/SENATE-Restaurant-134193393637/",
"contact_info":{},
"locations":[{}],
"details":{},
"parking_details":{},
"restaurant_details":{},
"campground_details":{},
"hotel_details":{},
"engagement":{},
"reviews":[{}],
"images":[{}],
"hours":{
"<default>":{
"mon_open_close":[],
"tue_open_close":[],
"wed_open_close":[],
"thu_open_close":[],
"fri_open_close":[],
"sat_open_close":[],
"sun_open_close":[],
}
},
"tags":[],
"temporary_closures":[]
}
Returns
status: 200
{
"data": {
"id":92879237,
"name":"Senate",
"alt_names":[],
"source_id":42,
"source_item_id":"134193393637",
"source_item_url":"https://www.facebook.com/SENATE-Restaurant-134193393637/",
"contact_info":{},
"locations":[{}],
"details":{},
"parking_details":{},
"restaurant_details":{},
"campground_details":{},
"hotel_details":{},
"engagement":{},
"reviews":[{}],
"images":[{}],
"hours":{
"<default>":{
"mon_open_close":[],
"tue_open_close":[],
"wed_open_close":[],
"thu_open_close":[],
"fri_open_close":[],
"sat_open_close":[],
"sun_open_close":[],
}
},
"tags":[],
"temporary_closures":[]
}
}
/api/v2/places/:place_id
Update your existing place record.
Accepts
{
"tag": {
"name":"Senate",
"alt_names":[],
"source_id":42,
"source_item_id":"134193393637",
"source_item_url":"https://www.facebook.com/SENATE-Restaurant-134193393637/",
"contact_info":{},
"locations":[{}],
"details":{},
"parking_details":{},
"restaurant_details":{},
"campground_details":{},
"hotel_details":{},
"engagement":{},
"reviews":[{}],
"images":[{}],
"hours":{
"<default>":{
"mon_open_close":[],
"tue_open_close":[],
"wed_open_close":[],
"thu_open_close":[],
"fri_open_close":[],
"sat_open_close":[],
"sun_open_close":[],
}
},
"tags":[],
"temporary_closures":[]
}
}
Returns
status: 204
{
"data": {
"id":92879237,
"name":"Senate",
"alt_names":[],
"source_id":42,
"source_item_id":"134193393637",
"source_item_url":"https://www.facebook.com/SENATE-Restaurant-134193393637/",
"contact_info":{},
"locations":[{}],
"details":{},
"parking_details":{},
"restaurant_details":{},
"campground_details":{},
"hotel_details":{},
"engagement":{},
"reviews":[{}],
"images":[{}],
"hours":{
"<default>":{
"mon_open_close":[],
"tue_open_close":[],
"wed_open_close":[],
"thu_open_close":[],
"fri_open_close":[],
"sat_open_close":[],
"sun_open_close":[],
}
},
"tags":[],
"temporary_closures":[]
}
}
/api/v2/places/:place_id
Delete a place record.
Returns
status: 204
/api/v2/places
Returns all of your available places.
Returns
status: 200
{
"data": [
{
"id":92879237,
"name":"Senate",
"alt_names":[],
"source_id":42,
"source_item_id":"134193393637",
"source_item_url":"https://www.facebook.com/SENATE-Restaurant-134193393637/",
"contact_info":{},
"locations":[{}],
"details":{},
"parking_details":{},
"restaurant_details":{},
"campground_details":{},
"hotel_details":{},
"engagement":{},
"reviews":[{}],
"images":[{}],
"hours":{
"<default>":{
"mon_open_close":[],
"tue_open_close":[],
"wed_open_close":[],
"thu_open_close":[],
"fri_open_close":[],
"sat_open_close":[],
"sun_open_close":[],
}
},
"tags":[],
"temporary_closures":[]
}
]
}
Updated 2 years ago