Locations
Get locations
- Endpoint:
GET /locations
- Allowed for:
Everyone one that is authenticated.
- Filters :
Name | Type | Value |
---|---|---|
paths | Array of string | ex: are.2.3092 |
string | string | ex: "Marina" |
Curl example :
$ curl -X GET 'http://api-v2.mycrm.com/locations?filters[paths][]=are.2.3092'
- JSON response:
This endpoint will return a list of locations.
- JSON response example:
{
"count": 1,
"page": 1,
"per_page": 1,
"location": [
{
"id": "are.1.50",
"city": "Dubai",
"community": "Dubai Marina",
"sub_community": null,
"tower": null,
"latitude": 25.081440019999999,
"longitude": 55.143857670000003
}
]
}