Get Current User Details
Changed onget/user
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/user
- AuthAPI key in header x-api-key
Response
200
Example response
{
"type": "success",
"data": {
"user_uid": "1eb1d499-e8b1-4979-a04b-4b0599599529",
"first_name": "Ashin",
"last_name": "Thankachan",
"email": "ashin.t@zuper.co",
"designation": "Admin",
"emp_code": "Z103",
"work_phone_number": "8301907278",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/d26d3dd0-0c47-11ee-b705-491517420371.jpg",
"hourly_labor_charge": 120,
"is_active": true,
"created_at": "2022-07-04T06:25:56.000Z",
"updated_at": "2023-10-05T08:30:17.000Z",
"created_by": {
"user_uid": "8bcb5f06-4744-40be-8a39-976804e2ff02",
"first_name": "Sruthi",
"last_name": "Nair",
"email": "sruthinairece@gmail.com",
"home_phone_number": "7824955848",
"designation": "Admin",
"emp_code": "8891",
"work_phone_number": "8056306370",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/9f914e90-017e-11ec-931d-1d05930f66de.png",
"hourly_labor_charge": 120,
"is_active": true,
"created_at": "2019-03-18T05:30:43.000Z",
"updated_at": "2022-10-13T14:06:13.000Z"
},
"role": {
"role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
"role_name": "Admin",
"role_key": "ADMIN"
},
"custom_fields": [
{
"label": "Zoho Employee Id",
"type": "SINGLE_LINE",
"_id": "62c287f450c1e8d4c75c7979"
}
]
},
"work_hours": [
{
"day": "Sunday",
"start_time": "09:00:00",
"end_time": "18:00:00",
"track_location": true
}
]
}Changes
- info
endpoint added
- info