Get User Locations
Changed onget/users/location
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/users/location
- AuthAPI key in header x-api-key
Query parameters
filter.keywordstring
filter.user_uidstring
Response
200
Example response
{
"type": "success",
"data": [
{
"employee_location_uid": "b6685e01-4f61-4bd2-8622-b8d45558e34f",
"created_at": "2019-06-26T05:54:48.000Z",
"timesheet_location": {
"location_uid": "4a5ec1a6-13e3-4fc8-b2be-74812ea4b0ee",
"latitude": 13.0102472305298,
"longitude": 80.2105865478516,
"address": "Somewhere in Guindy",
"radius": 1000,
"location_name": "RK Industries Address"
},
"user": {
"user_uid": "ed137b6f-5f03-4293-ab41-0272209729ac",
"first_name": "Pritchett",
"last_name": "L",
"email": "Pri@gmail.com",
"home_phone_number": "9597202988",
"designation": "Android Dev",
"emp_code": "12345",
"work_phone_number": "6382207980",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/9e5f4dc0-a3dc-11ea-87b9-b33576469d7f.jpg",
"hourly_labor_charge": 120,
"is_active": true,
"created_at": "2019-02-19T06:18:27.000Z",
"updated_at": "2022-07-26T09:54:40.000Z"
}
}
]
}Changes
- info
endpoint added
- info