Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API to manage condominium units ("Unidade"). Specifically, the "Criar Unidade" operation allows users to create a new unit within a specified condominium. This is useful for property managers or administrators who need to programmatically add units to their condominium management system.

Practical examples include:

  • Automatically adding new apartment units when a building project is registered.
  • Synchronizing unit data from an external database into Superlogica.
  • Creating units in bulk as part of onboarding new condominiums.

Properties

Name Meaning
ID do Condomínio The unique identifier of the condominium where the unit will be created.
Identificação da Unidade The identification label of the unit (e.g., "Apto 101").
Bloco The block or section of the condominium where the unit is located (optional).
Fração Ideal The ideal fraction of ownership for the unit, using a dot as decimal separator.
Área The area of the unit in square meters, using a dot as decimal separator (optional).
Observações Additional notes or observations about the unit (optional).

Output

The node outputs JSON data representing the newly created unit as returned by the Superlogica API. This typically includes details such as the unit's ID, identification, block, fraction, area, and any other metadata provided by the API.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Superlogica API.
  • The node uses the Superlogica API endpoint (default: https://api.superlogica.net/v2/condor).
  • Proper configuration of the API credentials (app token and access token) is necessary for successful requests.

Troubleshooting

  • Missing Credentials: If the API credentials are not provided or invalid, the node will throw an error indicating that credentials are missing.
  • API Errors: Errors returned by the Superlogica API (e.g., invalid parameters, unauthorized access) will be surfaced as node errors.
  • Data Format Issues: Ensure numeric fields like "Fração Ideal" and "Área" use a dot as the decimal separator; otherwise, the API may reject the input.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion