API Reference//
- Update suggestions
Update all suggestions status
Get suggestions
Get Location Suggestions
Update suggestions
Update the given suggestion object, used to track the status of incoming suggestions. Note that rejecting a suggestion does not delete it, and accepting the suggestion won't automatically apply it to the location.
Security
X-API-KEY or Authorization
List of Maps with both an id and a status key: [[id: 123, status: ACCEPTED], ...]
Array []
Enum:"FOURSQUARE""UBER""GOOGLE""WAZE""GOOGLE_MAPS""YELP_API""MEINESTADT""NOKIA_HERE""FACEBOOK""TOMTOM"
ACCEPTED, DECLINED or ACTIVE (if no decision was made for accepting/declining the suggestion)
Enum:"HIDDEN""PENDING""ACCEPTED""DECLINED""DECLINED_OLD_API"
- https://uberall.com/apihttps://uberall.com/api/locations/{id}/suggestions
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/locations/{id}/suggestions
- X-API-KEY
- Authorization
curl -i -X PUT \
'https://uberall.com/api/locations/{id}/suggestions' \
-H 'Content-Type: */*' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '[
{
"id": 0,
"type": "FOURSQUARE",
"status": "HIDDEN",
"value": {},
"directory": "FOURSQUARE"
}
]'Successfully updated suggestions
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
Response
{
"status": "SUCCESS",
"message": "string",
"warnings": [
"string"
],
"response": [
{
"id": 0,
"type": "FOURSQUARE",
"status": "HIDDEN",
"value": {},
"directory": "FOURSQUARE"
}
]
}