Nuvem Solution icon

Nuvem Solution

Interact with Nuvem Solution API

Actions120

Bloqueios → Get Bloqueio Compra Pedido

AI-generated

Overview

This node interacts with the Nuvem Solution API to retrieve detailed information about various types of blockings ("bloqueios") in a sales or order management context. Specifically, the "Get Bloqueio Compra Pedido" operation fetches details about a purchase order blocking by its unique ID.

Use cases include:

  • Checking if a specific purchase order is blocked and understanding the reasons or conditions for the blocking.
  • Automating workflows that need to verify purchase order status before proceeding with further processing.
  • Integrating blocking status checks into larger business process automations involving orders and purchases.

Example: Before approving a purchase order in an ERP system, you can use this node to get the blocking details to decide whether to proceed or notify responsible parties.

Properties

Name Meaning
Bloqueio ID The unique numeric identifier of the blocking record to retrieve details for.

Output

The node outputs JSON data representing the details of the specified purchase order blocking. The structure corresponds to the response from the Nuvem Solution API endpoint for purchase order blockings and typically includes fields describing the blocking reason, status, related entities, timestamps, and any other metadata provided by the API.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the Nuvem Solution API.
  • The node uses bearer token authentication obtained via the configured credentials.
  • The base URL for the API and authentication credentials (software key, secret, user ID, user key) must be configured in the node's credentials.
  • Network access to the Nuvem Solution API endpoints is necessary.

Troubleshooting

  • Authentication failures: If the node throws errors about authentication failure, verify that the API credentials (software key, secret, user ID, user key) are correct and have not expired.
  • Invalid Bloqueio ID: Providing a non-existent or incorrect blocking ID will likely result in an error or empty response. Ensure the ID is valid.
  • API connectivity issues: Network problems or incorrect base URL configuration can cause request failures.
  • Unsupported operations: Using an operation name outside the supported list will throw an error indicating the operation is not supported.
  • Malformed JSON input: For operations requiring JSON bodies (not applicable here), ensure JSON syntax is correct.

Links and References

  • Nuvem Solution API Documentation (general reference; actual docs may require login)
  • Nuvem Solution API endpoint for purchase order blocking details: /erp/forcaVendas/bloqueios/compraPedido/{bloqueioId}

This summary is based on static analysis of the node's source code and property definitions for the "Bloqueios" resource and "Get Bloqueio Compra Pedido" operation.

Discussion