User Details
Use this API to get this individual user details.
HTTP REQUEST
GET /user/{userId}/detail
PATH PARAMETERS
| userId required |
integer | A single user ID |
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"userDetail": {
"firstName": "pooja",
"lastName": "gada",
"email": "trainee@horizzon.com",
"countryCode": "+91",
"mobile": "9876543210",
"timezone": "Asia/Kolkata",
"department": "Test 123",
"designation": "Senior Manager",
"branch": null,
"companyName": "Abc infotect",
"workPhone": "",
"address": "marin lines",
"country": "Eshkashem",
"state": "Badakhshan",
"city": "Eshkashem",
"zip": "400002",
"zone": null,
"lang": "en-US",
"role": "Trainee"
}
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}
| Field | Type | Description | firstName | string | First Name |
| lastName | string | Last Name |
| string | Email Address | |
| countryCode | string | geographical codes | mobile | string | contact number |
| timezone | string | Timezone |
| department | string | Department name |
| designation | string | Designation name |
| branch | string | Branch name |
| companyName | string | Company name |
| workPhone | string | Work contact number |
| address | string | Address details |
| country | string | Country name |
| state | string | State name |
| city | string | City name |
| zip | string | Zipcode |
| zone | string | Zone name |
| lang | string | Langugae |
| role | string | Trainee |
| Code | Description |
| 1001 | ‘Missing userId’ |
| 1002 | ‘Invalid userId’ |
For general error details, click here.