Imobzi icon

Imobzi

Interagir com a API da Imobzi

Overview

This node integrates with the Imobzi API to manage various real estate-related resources, including rentals ("Locacao"). Specifically, the "Delete" operation for the "Locacao" resource allows users to delete a rental record by specifying its name or ID. This is useful in scenarios where outdated or incorrect rental entries need to be removed from the system to maintain data accuracy.

Practical examples:

  • Automatically deleting a rental contract when it expires or is terminated.
  • Cleaning up test or duplicate rental records during data synchronization workflows.

Properties

Name Meaning
Rental Name or ID Select a rental from the dropdown list or specify its ID via an expression to identify which rental to delete.

Output

The output JSON contains the response data from the Imobzi API after attempting to delete the specified rental. Typically, this will include confirmation of deletion or relevant status information returned by the API.

If an error occurs (e.g., rental not found), the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Example output JSON on success:

{
  "message": "Rental deleted successfully",
  "id": "12345"
}

Example output JSON on failure:

{
  "error": "Rental not found"
}

Dependencies

  • Requires an active connection to the Imobzi API using an API key credential configured in n8n.
  • The node uses authenticated HTTP requests to the Imobzi API endpoints.
  • No additional external dependencies are required.

Troubleshooting

  • Common issues:

    • Specifying an invalid or non-existent rental ID will cause the API to return an error.
    • Network connectivity problems can prevent successful API calls.
    • Insufficient permissions or invalid API credentials will result in authentication errors.
  • Error messages and resolutions:

    • "Rental not found": Verify that the rental ID or name is correct and exists in the Imobzi system.
    • Authentication errors: Check that the API key credential is correctly set up and has necessary permissions.
    • Network errors/timeouts: Ensure stable internet connection and that the Imobzi API endpoint is reachable.

Links and References

Discussion