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
This node, named "Ajax," is designed to interact with the Ajax API (version indicated in the code). It supports multiple resources and operations, including managing access codes for companies. Specifically, the "Update Access Code For Company" operation under the "Access Code" resource allows users to update details of an existing access code associated with a company.
Common scenarios where this node is beneficial include:
- Updating permissions or metadata of access codes used for security systems within a company.
- Modifying group permissions linked to an access code to control arming/disarming capabilities.
- Enabling or disabling access codes or changing their names and indexes.
Practical example:
A security administrator wants to update an access code's permissions so that a specific user group can now disarm the system but not arm it. They use this node to specify the company, hub, and access code IDs, then set the new group permissions accordingly.
Properties
| Name | Meaning |
|---|---|
| Company Id | The unique identifier of the company to which the access code belongs. |
| Hub Id | The unique identifier of the hub within the company context. |
| Access Code Id | The unique identifier of the access code to be updated. |
| Groups Permissions | A collection allowing multiple entries, each specifying: - Group Id: Identifier of a user group. - Group Permissions: Permissions assigned to the group; options are "ARM" and "DISARM". |
| Additional Fields | Optional fields to further customize the access code: - Name: The name of the access code. - Index: Numeric index for ordering or identification. - Arming Permissions: Permissions related to arming modes; options include "ARM", "DISARM", and "NIGHT_MODE". - Enabled: Boolean flag to enable or disable the access code. |
Output
The node outputs JSON data representing the result of the update operation on the access code. This typically includes confirmation of the updated fields and possibly the full updated access code object as returned by the Ajax API.
If the node handles binary data, it would relate to any attachments or files associated with the access code, but based on the provided information, the output is primarily JSON structured data reflecting the updated access code state.
Dependencies
- Requires an active connection to the Ajax API via an API key credential configured in n8n.
- Uses internal helper classes for HTTP communication, state management, and operation resolution.
- No additional external dependencies beyond the Ajax API and its authentication.
Troubleshooting
- Missing or invalid credentials: Ensure the API key credential for the Ajax API is correctly configured and has sufficient permissions.
- Invalid IDs: Errors may occur if the provided Company Id, Hub Id, or Access Code Id do not exist or are malformed. Verify these identifiers before running the node.
- Permission errors: If the API returns permission denied errors, check that the API key has rights to update access codes and that the groups specified have valid permissions.
- Malformed input: Ensure that the Groups Permissions and Additional Fields collections are properly formatted and contain valid values as per the allowed options.
- API version mismatch: The node uses a specific API version; if the backend API changes, some operations might fail until the node is updated.
