Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Setor → Listar

AI-generated

Overview

This node interacts with the Press Ticket® API to manage 'Setor' (Queue) resources. Specifically, it supports listing all available queues from the system. This is useful for scenarios where you need to retrieve and display all sectors or queues managed by the Press Ticket system, such as in customer support or ticket management workflows.

Use Case Examples

  1. List all sectors (queues) in the Press Ticket system to display them in a dashboard or use them in further automation steps.
  2. Retrieve the list of queues to assign tickets or messages dynamically based on sector availability.

Properties

Name Meaning
resource The API resource to interact with, fixed as 'Setor' (queue) for this context.
operation The operation to perform on the 'Setor' resource, fixed as 'Listar' (list) to retrieve all queues.

Output

JSON

  • id - Unique identifier of the queue
  • name - Name of the queue
  • color - Color code of the queue in hexadecimal format
  • createdAt - Timestamp when the queue was created
  • updatedAt - Timestamp when the queue was last updated

Dependencies

  • Press Ticket API with API token authentication

Troubleshooting

  • Ensure the API token credential is correctly configured and has permissions to access queue data.
  • Verify the API URL is reachable and correct in the node credentials.
  • If the response format is invalid or empty, check the API service status and network connectivity.

Links

Discussion