Actions26
Overview
The node integrates with the Dental Office Cloud API to manage dental office resources. Specifically, for the Cadeira (Chair) resource and the Atualizar (Update) operation, it updates the details of a specific chair within a clinic. This is useful in scenarios where a dental office needs to modify chair information such as its name or identification after creation.
Practical examples include:
- Renaming a chair to reflect a new numbering system.
- Updating chair identifiers to match changes in clinic layout or equipment.
Properties
| Name | Meaning |
|---|---|
| ID da Clínica | The unique numeric identifier of the clinic where the chair is located. |
| ID da Cadeira | The unique numeric identifier of the chair to be updated. |
| Nome | The new name or identification label for the chair. Optional; if provided, updates it. |
Output
The output JSON contains the updated chair object returned by the Dental Office Cloud API after a successful update. This typically includes the chair's ID, name, clinic association, and any other metadata managed by the API.
No binary data output is involved.
Example output structure (simplified):
{
"id": 123,
"name": "New Chair Name",
"clinic_id": 45,
// ... other chair properties ...
}
Dependencies
- Requires an active connection to the Dental Office Cloud API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The node uses HTTP methods (PUT) to update chair data at endpoint
/v1/clinics/{clinicId}/chairs/{chairId}.
Troubleshooting
- Invalid or missing IDs: Ensure that both the clinic ID and chair ID are correctly specified and exist in the Dental Office system.
- API authentication errors: Verify that the API key or token credential is valid and has sufficient permissions.
- Invalid JSON or parameter formats: Although this operation only updates simple fields, ensure no invalid characters or types are passed.
- Network issues: Confirm network connectivity to the Dental Office API endpoint.
- Error messages from API: These may indicate permission issues, non-existent resources, or validation errors on the input data. Review the error message details and adjust inputs accordingly.
Links and References
- Dental Office Cloud API documentation (for chairs): Typically found at the vendor's developer portal.
- n8n documentation on creating custom nodes and using credentials for API integrations.