Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API to update information about a specific "Unidade" (unit) within a condominium system. It is designed to modify existing unit details such as identification, block, ideal fraction, area, and observations.

Common scenarios for this node include:

  • Updating unit details after renovations or changes in property attributes.
  • Correcting or adding missing information about a unit.
  • Synchronizing unit data from external systems into Superlogica.

For example, if a property manager needs to update the area or add notes about a particular apartment unit, this node can be used to send those updates directly to the Superlogica platform.

Properties

Name Meaning
ID da Unidade The unique identifier of the unit to update.
Identificação da Unidade The identification label of the unit (e.g., "Apto 101").
Bloco The block where the unit is located (optional).
Fração Ideal The ideal fraction of the unit, representing its proportional ownership (use dot as decimal separator).
Área The area of the unit in square meters (use dot as decimal separator, optional).
Observações Additional notes or observations about the unit (optional).

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the Superlogica API after attempting to update the specified unit. This typically includes confirmation of the updated fields or error messages if the update failed.

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, defaulting to https://api.superlogica.net/v2/condor unless overridden by credentials.
  • Proper configuration of the API authentication tokens (app token and access token) is necessary.

Troubleshooting

  • Missing Credentials: If the API credentials are not provided or invalid, the node will throw an error indicating that credentials are missing.
  • Invalid Unit ID: Providing an incorrect or non-existent unit ID will likely result in an API error; verify the unit ID before running the node.
  • Decimal Separator Issues: The properties Fração Ideal and Área require decimal points (.) as separators. Using commas or other formats may cause errors or incorrect data submission.
  • API Errors: Any errors returned by the Superlogica API (such as permission issues or validation errors) will be passed through in the output JSON under an error message field.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON for failed items.

Links and References

Discussion