User Locations¶
User Locations¶
-
GET
/api/v1/users/locations
¶ Synopsis: Returns the locations of users when they last refreshed fieldTask, (refer to Projects for a web service call that returns projects) Example response:
https://sg.smap.com.au/api/v1/users/locations
HTTP/1.1 200 OK Vary: Accept Content-Type: application/json { "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 153.0110065, -27.4457921 ] }, "properties": { "prikey": "1", "User": "neil", "Refresh Time": "2020-01-11 21:47:18.783563" } } ], "message": "" }
Query Parameters: - tz (text) -- Timezone
- project (integer) -- Project ID
Request Headers: - Authorization -- basic
Status Codes: - 200 OK -- no error