This tutorial will teach you how to track and reply to reviews, tips and comments at all your locations by using uberall API.
“datapoints” is the technical name our developers gave to reviews, tips, comments and checkins.
Method | Endpoint | Description |
---|---|---|
GET | /datapoints | Returns data points for the given search filters |
POST | /datapoints/$id/reply/businesses | Sends a reply for that datapoint to the directory |
Just use /datapoints
to get all datapoints related to your account.
curl X GET 'https://sandbox.uberall.com/api/datapoints' d '{}' H 'privateKey: $privateKey' H 'CacheControl: nocache'
This is what the response should look like:
{
"status": "SUCCESS",
"response": {
"inbox": {
"page": 1,
"pageSize": 50,
"count": 17,
"dataPoints": [
{
"id": 467448,
"dateCreated": "2015-03-27T03:01:31.000+01:00",
"lastUpdated": "2015-03-27T03:01:31.000+01:00",
"actionDate": "2015-03-27T03:01:31.000+01:00",
"readDate": null,
"data": null,
"type": "REVIEW",
"directoryType": "GUIDELOCAL",
"author": null,
"directLink": "https://guidelocal.net/v/berlin/uberall/2809381",
"rating": "5.0",
"locationId": 20,
"supportsReply": false
} //,...
],
"ignoredLocations": [
67150 //,...
]
}
}
}
You can use /datapoints/$id/reply to reply to any datapoint with supportsReply set to true.