Skip to navigation

Employee Details

View as Markdown

Employee Details

This API retrieves employee details from Dice.

ParamsRequiredDescription
CodeMandatoryEmployee code associate with employee.

Response

ParamsTypeDescription
detailsObjectContains detailed information about the employee.
ageIntegerThe age of the employee.
dobIntegerThe date of birth of the employee in Unix timestamp format.
createdAtIntegerThe timestamp when the employee details were created.
updatedAtIntegerThe timestamp when the employee details were last updated.
departmentObjectContains information about the department to which the employee belongs.
idIntegerThe unique ID of the department.
nameStringThe name of the department.
officeObjectContains information about the office location of the employee.
idIntegerThe unique ID of the office location.
nameStringThe name of the office location.
gradeStringThe grade or level of the employee.
firstNameStringThe first name of the employee.
lastNameStringThe last name of the employee.
eaCodeStringThe EA code associated with the employee.
customFieldsObjectCustom fields associated with the employee.
idIntegerThe unique ID of the employee.
nameStringThe name of the employee.
codeStringThe employee code or identification number.
emailStringThe email address of the employee.
mobileStringThe mobile/phone number of the employee.
currencyStringThe currency code (INR) associated with the employee.
deletedBooleanIndicates whether the employee is deleted or not.
qrDisabledBooleanIndicates whether the QR code is disabled or not.
programmeObjectContains information about the employee’s program.
idIntegerThe unique ID of the program.
officeIdsArrayAn array containing office IDs associated with the employee.

Response Example

raw (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

codestringRequired

Headers

DICE-APP-IDstringOptional
Company Code of client
X-CLIENT-IDstringOptional
API Client ID
X-CLIENT-SECRETstringOptional
API Client Secret

Response

OK
detailsobject
currencystring
deletedboolean
qrDisabledboolean
programmeobject
officeIdslist of any