updateCurrentAddress

Home » Empxtrack Help » API Integration » Employee Objects » Address » updateCurrentAddress

Employee_Address.updateCurrentAddress(WS_Employee_Address employeeCurrentAddress)

This Employee_Address.updateCurrentAddress(WS_Employee_Address employeeCurrentAddress) method allows you to update the details of an existing current address of an employee in the system.

Arguments

WS_Employee_Address : The class type mandatory argument.

Returns

Success output if the operation succeeded. An exception if an error is encountered

Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
  • InvalidAddress: If addressInfoId is invalid or access is not allowed to employee record.
  • Invalid Value: If passed in parameter value is not appropriate.

Object Methods

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