getConfidentialIDForType

Home » Empxtrack Help » API Integration » Employee Objects » ConfidentialIDs » getConfidentialIDForType

Employee_ConfidentialIDs. getConfidentialIDForType(String empId,String idType)

This Employee_ConfidentialIDs. getConfidentialIDForType(String empId,String idType) method allows you to get the confidential ids for a specific confidential id type for an employee from the system.

Arguments

emp id : The string type mandatory argument for employee id.

idType : The string type mandatory argumen for confidential id typet

Returns

Returns a json string with all the confidential ids for a confidential id type.

 Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
  •  InvalidEmp: If employee id is invalid or view access is not allowed to employee / confidential id record for the current user

Object Methods

Click on each of these links to know more about them: