Actions242
- User Actions
- Unbind User From Hub
- Update Bound User Specific Key Pad Password
- Reset Bound User Specific Key Pad Password
- Update Bound User Specific Key Pad Force Disarm Password
- Reset Bound User Specific Key Pad Force Disarm Password
- Update Permission On Behalf Of UserId for BoundUserId on Hub For Single Device
- Get Permission For CompanyId On Hub For Photo By User
- Update Permission On Behalf Of UserId For CompanyId On Hub For Photo
- Get Permission For CompanyId On Hub For Surveillance Cameras
- Update Permission On Behalf Of UserId For CompanyId On Hub For Surveillance Cameras
- Get Bound Company Lists
- Get Bound Company Details
- Update Bound User Details
- Unbind Company Form Hub
- Find User
- Create New User
- Contact Info Confirmation
- Request Password Reset
- Confirm Password Reset
- Get User Info By ID
- Update User Info
- Update User Image
- Delete User Image
- Confirm User Contact Information Change
- Request to Change User's Login
- Request To Change User's Phone
- Request To Change User's Passwords Hash
- Get Bound Users List
- Bind User To The Hub
- Get Bound User Details
- Update Bound User
- Monitoring Actions
- Get Monitoring Request From Installers
- Approve Monitoring Request
- Reject Monitoring Request
- Get Hub Attached Security Companies
- Send Binding Request To Security Company
- Send Deletion Request With Security Company
- Get Hub Attached Security Companies For Company
- Send Binding Request To Security Company For Company
- Send Deletion Request With Security Company For Company
- Get Counter Of Monitoring Request From Installers
- Get Counter Of Monitoring Request From Users
- Get Monitoring Request From Users
- Invite Actions
- Network Actions
- Enable/disable Ethernet Network Channel
- Enable/disable WiFi Network Channel
- Enable/disable GSM Network Channel
- Update Wifi Settings
- Get Status Of Update Wifi Settings Operation
- Update Ethernet Settings
- Get Status Of Update Ethernet Settings Operation
- Update General GSM Settings
- Update GSM Sim Card Settings
- Get Status Of Update Sim Card Settings Operation
- Send Get Balance Request
- Get Balance Request Status
- Update GSM Sim Card Balance Number
- Scan Wifi Networks
- Get Scan Wifi Networks
- Join Wifi Networks
- Get Join Wifi Network Operation Status
- Update Device Ethernet Settings
- Get Status Of Update Device Ethernet Settings Operation
- Enable/disable Device Ethernet Network Channel
- Enable/disable Ethernet Network Channel For Company
- Enable/disable WiFi Network Channel For Company
- Enable/disable GSM Network Channel For Company
- Update General GSM Settings For Company
- Update GSM Sim Card Settings For Company
- Get Status Of Update Sim Card Settings Operation For Company
- Send Get Balance Request For Company
- Get Balance request Status For Company
- Update GSM Sim Card Balance Number For Company
- Access Control Actions
- Access Code Actions
- Get Access Codes List
- Create New Access Code
- Get Access Code
- Update Access Code
- Delete Access Code
- Update Access Code Password
- Update Access Code Duress Password
- Delete Access Code Password
- Get Access Codes List For Company
- Create New Access Code For Company
- Get Access Code For Company
- Update Access Code For Company
- Delete Access Code For Company
- Update Access Code Password For Company
- Update Access Code Duress Password For Company
- Delete Access Code Duress Password
- Camera Actions
- Object Actions
- Get Employee Access List
- Get Employee Access
- Updates Employee Access
- Create Employee Access
- Delete Employee Access
- Get Object maintenance Data
- Updates Object Maintenance Data
- Get List Of Objects
- Creates An Object
- Get Object Info
- Delete An Object
- Update Object General Info
- Cancel Object Deletion
- Get Object Notes By Object Id
- Create Object Note
- Get Object Notes By Id
- Update Object Note
- Delete Object Note
- Get Responsible Persons By Object Id
- Get Object Responsible Person By Id
- Get All Object Media By Object Id
- Create Object Media For Object Id
- Get Object Media By Id
- Delete Object Media By Id
- Hub Actions
- Get Hubs Binding Info
- Create Hub
- Get Hub Detailed Info and Settings
- Update Hub Image
- Delete Hub Image
- Get User Role On Hub
- Get Hub Logs
- Delete Hub Logs
- Clean Hub Cache
- Cancel Device Search
- Send Panic Command
- Get Hub Two-Stage Arming Operation Status
- Control Hub Arm State
- Start Update Firmware Process
- Set Groups Mode On or Off For Hub
- Reset Sim Traffic Counter
- Request Arming Reset
- Reset Arming
- Mute Fire Detectors
- Switch On Demand Photo Mode
- Search Among The Hubs Attached To Company
- Get Hub Detailed Info For Company
- Update Hub Image for Company
- Send Panic Command For Company
- Control Hub Arm State For Company
- Temporarily Do Not Inform User About Problems For Company
- Execute Power Test Command
- Execute Buses Power Command
- Execute Set Password Length Command
- Temporarily Do Not Inform User About Problems
- Create An Object For Locked Hub
- Get Hub Billing Info For Each Company
- Get Permission For CompanyId On Hub For Photo
- Mark Object As Vacant By Company
- Unmark Object As Vacant By Company
- Get Hub Logs For Company
- Room Actions
- Group Actions
- Security Management Actions
- Device Actions
- Get Devices List
- Get Device Info
- Update Device Info
- Unlink Device From Hub
- Send Command To Device
- Send Command To Bind Device To Range Extender
- Send Command To Unbind Device To Range Extender
- Get Devices List For Company
- Get Device Info For Company
- Update Device Info For Company
- Send Command To Device For Company
- Execute Scan Fibra Devices Command
- Get Scan Fibra Device List
- Pro Actions
- Installation Actions
- Employee Management Actions
- RRU Code Actions
- Agreement Actions
- Ring Management Actions
- Rapid Response Unit Actions
- Receiver Actions
Overview
The "Updates Company Employee" operation within the Employee Management resource allows users to update details of an existing employee in a specified company. This node is useful for scenarios where employee information needs to be maintained or corrected, such as updating contact details, roles, status, or other metadata related to an employee.
Practical examples include:
- Changing an employee's role after a promotion.
- Updating phone numbers or email addresses.
- Modifying the employment status (e.g., from PENDING to ACTIVE).
- Adding or changing the employee's photo ID or user ID.
This operation ensures that employee records remain current and accurate within the company's system.
Properties
| Name | Meaning |
|---|---|
| Company Id | The unique identifier of the company to which the employee belongs. |
| Employee Id | The unique identifier of the employee whose data is being updated. |
| First Name | The employee's first name. |
| Last Name | The employee's last name. |
| Additional Fields | Optional fields to provide extra information about the employee. These include: |
| - Id | An additional identifier for the employee record. |
| - Version | Numeric version of the employee record, possibly for concurrency control. |
| - User Id | Identifier linking the employee to a user account. |
| Employee's email address. | |
| - Phone Numbers | One or more phone numbers associated with the employee. Each number is provided as a string. |
| - Photo Id | Identifier for the employee's photo. |
| - Role | One or more roles assigned to the employee. Possible roles are: OWNER, SENIOR_CMS_ENGINEER, CMS_ENGINEER, HEAD_OF_INSTALLERS, INSTALLER, HEAD_OF_OPERATORS, OPERATOR, RAPID_RESPONSE_TEAM. |
| - Status | Employment status of the employee. Options include: PENDING, CANCELLED, INACTIVE, ACTIVE. |
| - Created Date | Timestamp (in milliseconds since epoch) indicating when the employee record was created. |
| - Last Modified Date | Timestamp (in milliseconds since epoch) indicating the last modification time of the employee record. |
Output
The node outputs JSON data representing the updated employee record after the operation completes successfully. This output includes all the fields sent in the update request, reflecting the current state of the employee in the system.
If the node supports binary data output (not explicitly shown in the provided code), it would typically relate to employee photos or attachments, but no explicit binary output handling is indicated here.
Dependencies
- Requires an API key credential to authenticate requests to the backend Ajax API service.
- Depends on the backend HTTP client and state management modules bundled within the node implementation.
- The node uses a resolver and executor pattern to map operations to backend methods, requiring proper configuration of these components.
- No external environment variables are explicitly required beyond the API authentication credential.
Troubleshooting
- Missing Required Fields: Errors may occur if mandatory fields like Company Id, Employee Id, First Name, or Last Name are not provided. Ensure all required inputs are filled.
- Invalid Role or Status Values: Providing values outside the predefined options for roles or status can cause validation errors.
- API Authentication Failures: If the API key credential is missing or invalid, the node will fail to connect to the backend service.
- Version Conflicts: If the version field is used for concurrency control, mismatched versions might cause update failures.
- Date Format Issues: Created Date and Last Modified Date must be provided as numeric timestamps; incorrect formats may lead to errors.
To resolve these issues:
- Double-check input parameters for completeness and correctness.
- Verify the API key credential is correctly configured and has necessary permissions.
- Use valid option values for enumerated fields.
- Confirm date fields are numeric timestamps.
Links and References
- No direct external links are provided in the source code.
- For further details, consult the documentation of the backend Ajax API service used by this node.
- Refer to n8n documentation on creating and configuring custom nodes for API integrations.
