BCL icon

BCL

Consume BCL Payment API

Form → Update Status

AI-generated

Overview

This node operation updates the active status of a specific form in the BCL system. It is useful for enabling or disabling forms dynamically based on business needs, such as temporarily deactivating a form during maintenance or reactivating it for new submissions.

Use Case Examples

  1. A marketing team wants to deactivate a form after a campaign ends to prevent further submissions.
  2. An admin needs to reactivate a previously inactive form to resume data collection.

Properties

Name Meaning
Form ID The unique identifier of the form to update. This is required to specify which form's status will be changed.
Is Active Boolean flag indicating whether the form should be active (true) or inactive (false). This controls the form's availability.

Output

JSON

  • is_active - Indicates whether the form is currently active after the update.
  • form_id - The ID of the form whose status was updated.
  • message - Response message from the API confirming the status update.

Dependencies

  • Requires an API token credential for authentication with the BCL Payment API.

Troubleshooting

  • Authentication errors due to invalid or expired API token. Ensure the API token is correct and has not expired.
  • Validation errors if the form ID is invalid or missing, or if the isActive parameter is not provided.
  • API errors such as 400 Bad Request if parameters are malformed, 403 Forbidden if permissions are insufficient, or 404 Not Found if the form does not exist.
  • Server errors (500+) from the BCL API which may require retrying later.

Discussion