Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Configuração → Atualizar

AI-generated

Overview

This node interacts with the Press Ticket® API to update a specific configuration setting. It is useful in scenarios where you need to programmatically change system or application settings, such as toggling features or updating parameters without manual intervention. For example, updating a configuration key like 'userCreation' to enable or disable user creation functionality.

Use Case Examples

  1. Updating a configuration setting 'userCreation' to 'true' to enable user creation.
  2. Changing a configuration value to adjust system behavior dynamically.

Properties

Name Meaning
Chave da Configuração The key of the configuration setting to update (e.g., 'userCreation').
Valor The new value to assign to the configuration setting.

Output

JSON

  • success - Indicates if the update operation was successful.
  • value - The new value of the updated configuration setting.

Dependencies

  • Requires an API key credential for authenticating with the Press Ticket® API.

Troubleshooting

  • Ensure the 'settingKey' provided exists in the system; otherwise, the update may fail.
  • Verify that the API token used for authentication is valid and has permissions to update settings.
  • Common error messages may include authorization errors or invalid key errors; check API token and key correctness.

Discussion