Get location suggestions given a search data
Security
X-API-KEY or Authorization
- 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 GET \
'https://uberall.com/api/locations/{id}/suggestions?language=string&directoryTypes=string' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Successfully retrieved 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,
"name": "string",
"streetAndNumber": "string",
"zip": "string",
"city": "string",
"country": "AF",
"status": "CREATED",
"suggestionsForFields": [
{
"fieldName": "string",
"currentValue": {},
"suggestions": [
{
"id": 0,
"type": "FOURSQUARE",
"status": "HIDDEN",
"value": {},
"directory": "FOURSQUARE"
}
]
}
]
}
}