Logo
Openapi.it Public API Documentation

{{baseUrl}}/updates

GET {{baseUrl}}/updates?lat=<double>&lng=<double>&radius=<integer>&skip=<integer>&limit=<integer>&dry_run=<integer>

This endpoint returns the list of all companies (just the id).

 

Body PARAM

Key Datatype Required Description 
lat
string latitude
lng
string longitude
radius
string radius in meters
skip
string you can set a number of records you want to skip or the id of a company you want to start from
limit
string is used to set the maximum number of results required
dry_run
string simulates a request by returning only the number of records found



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "id": "61f2c4d69fb8571d19235463" }, { "id": "61f4r5y69fb8571d19237859" }, { "id": "61f2f6t09fb8571d19237773" } ], "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/updates?lat=<double>&lng=<double>&radius=<integer>&skip=<integer>&limit=<integer>&dry_run=<integer>?lat=<double>&lng=<double>&radius=<integer>&skip=<integer>&limit=<integer>&dry_run=<integer>' -H 'Accept: application/json'

ENDPOINTS