{{baseUrl}}/autocomplete/:query
GET {{baseUrl}}/autocomplete/:query?lat=<double>&lng=<double>&radius=<integer>
This endpoint performs a search on the list of all the available companies with the given query.
Body
PARAM
Key | Datatype | Required | Description |
lat
|
string | latitude | |
lng
|
string | longitude | |
radius
|
string | radius in meters |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"data": [
{
"id": "60b4a85585e34e615c569ef5",
"denominazione": "ALTRAVIA SERVIZI SOCIETA' A RESPONSABILITA' LIMITATA"
}
],
"success": true,
"message": "",
"error": null
} |
ENDPOINTS