Employee Details
### Employee Details
This API retrieves employee details from Dice.
| **Params** | **Required** | **Description** |
| --- | --- | --- |
| Code | Mandatory | Employee code associate with employee. |
### Response
| Params | Type | Description |
| --- | --- | --- |
| details | Object | Contains detailed information about the employee. |
| age | Integer | The age of the employee. |
| dob | Integer | The date of birth of the employee in Unix timestamp format. |
| createdAt | Integer | The timestamp when the employee details were created. |
| updatedAt | Integer | The timestamp when the employee details were last updated. |
| department | Object | Contains information about the department to which the employee belongs. |
| id | Integer | The unique ID of the department. |
| name | String | The name of the department. |
| office | Object | Contains information about the office location of the employee. |
| id | Integer | The unique ID of the office location. |
| name | String | The name of the office location. |
| grade | String | The grade or level of the employee. |
| firstName | String | The first name of the employee. |
| lastName | String | The last name of the employee. |
| eaCode | String | The EA code associated with the employee. |
| customFields | Object | Custom fields associated with the employee. |
| id | Integer | The unique ID of the employee. |
| name | String | The name of the employee. |
| code | String | The employee code or identification number. |
| email | String | The email address of the employee. |
| mobile | String | The mobile/phone number of the employee. |
| currency | String | The currency code (INR) associated with the employee. |
| deleted | Boolean | Indicates whether the employee is deleted or not. |
| qrDisabled | Boolean | Indicates whether the QR code is disabled or not. |
| programme | Object | Contains information about the employee's program. |
| id | Integer | The unique ID of the program. |
| officeIds | Array | An array containing office IDs associated with the employee. |
### Response Example
raw (Json)
``` json
{
"details": {
"age": 54,
"dob": 0,
"createdAt": 1704717674261,
"updatedAt": 1704717880623,
"department": {
"id": 75978,
"name": "Basic"
},
"office": {
"id": 97485,
"name": "Delhi"
},
"grade": "",
"firstName": "test",
"lastName": "user 123",
"eaCode": "",
"customFields": {},
"id": 583212,
"name": "test user 123",
"code": "000069",
"email": "Diceuser122333@gmail.com",
"mobile": "0099887766"
},
"currency": "INR",
"deleted": false,
"qrDisabled": false,
"programme": {
"id": 257
},
"officeIds": []
}
```
Path parameters
code
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
Response
OK
details
currency
deleted
qrDisabled
programme
officeIds

